On Feb 28, 7:50 pm, Luis Miguel Silva
wrote:
> Dear all,
>
> I'm a software integrator and i'm currently evaluating Puppet to
> understand how we can potentially integrate our products with it.
> I've been reading documentation on it and i'm currently installing a
> Puppet system but i have some q
On Feb 28, 2011, at 11:58 PM, Thomas Rasmussen wrote:
>
>
> On Feb 28, 9:35 pm, Patrick wrote:
>> On Feb 28, 2011, at 4:23 AM, Thomas Rasmussen wrote:
>>
>>
>>
>>
>>
>>> hey
>>
>>> OK, now I have tried to do it via rsync and it seems to be working...
>>> but the recurse bug is apparently
On Mon, 2011-02-28 at 23:58 -0800, Thomas Rasmussen wrote:
>
> On Feb 28, 9:35 pm, Patrick wrote:
> > On Feb 28, 2011, at 4:23 AM, Thomas Rasmussen wrote:
> >
> >
> >
> >
> >
> > > hey
> >
> > > OK, now I have tried to do it via rsync and it seems to be working...
> > > but the recurse bug is app
I mean to write a lint checker for my manifests, but I am not a ruby
developer to any degree of proficiency. What I think I would like is
some kind of serialization of the AST for a given .pp file, which I can
then import into my own Python code and analyze for undesirable
patterns.
Is there any
On Mar 1, 2011, at 12:14 PM, Nick Moffitt wrote:
> Or is there already some
> easily-modifiable lint checker elsewhere?
You probably want:
puppet --parseonly
All the best, Sandor Szücs
--
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
(sorry Sandor, I hit individual reply entirely by mistake earlier)
Sandor Szuecs:
> On Mar 1, 2011, at 12:14 PM, Nick Moffitt wrote:
> > Or is there already some easily-modifiable lint checker elsewhere?
>
> You probably want:
> puppet --parseonly
As of puppet 2.6.4 this does not print any parse
On Mon, 28 Feb 2011 12:28:43 -0800 (PST)
draeath draeath wrote:
Hi,
you could add some notify to see what value has $my_role in some
classes.
http://www.devco.net/archives/2009/08/19/tips_and_tricks_for_puppet_debugging.php
We use same schema and variable scope works fine.
what puppet version?
Hi Pete,
On Monday, February 28, 2011 9:47:36 PM UTC+1, pete ehlke wrote:
>
> Folks:
>
> I've started to play around with the comprehensive integrated module set
> from example42 (http://www.example42.com/).
>
> Following the instructions, I set up one node as a nagios server, with
> 'include na
What I find works is a configuration along the following lines:
node mirror {
$my_role = "mirror"
}
node 'mirror.example.com' inherits mirror {
include iptables
include basenode
include sendmail
include sshkeys
}
--
You received this message because you are s
On Tuesday, March 1, 2011 2:58:03 AM UTC-5, Thomas Rasmussen wrote:
>
>
>
> On Feb 28, 9:35 pm, Patrick wrote:
> > On Feb 28, 2011, at 4:23 AM, Thomas Rasmussen wrote:
> >
> >
> >
> >
> >
> > > hey
> >
> > > OK, now I have tried to do it via rsync and it seems to be working...
> > > but
I've filed this as a bug as setting $noop doesn't seem to work
anywhere anymore.
http://projects.puppetlabs.com/issues/6526
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To u
http://projects.puppetlabs.com/issues/6443
We have a regression that causes spurious errors and log messages due
to auditing being auto-enabled incorrectly in some situations.
Do not upgrade to 2.6.5.
We will be resolving this issue and providing further information as
we run through testing.
-
> err: //Packages::Mongodb/Package[mongodb-stable]/ensure: change from
> purged to 20110131 failed: Could not update: Execution of '/usr/bin/
> aptitude -y -o DPkg::Options::=--force-confold --force-yes install
> mongodb-stable=20110131' returned 1: /usr/bin/aptitude: unrecognized
> option '--force
Hi,
On 02/28/2011 07:58 AM, sanjiv.singh wrote:
> hi all,
> I had configured puppet with ldap (for storing client
> configuration )
> I stucked with an error msgwhen i fire puppetd on client...
>
> $ sudo /usr/sbin/puppetd --test --debug
> .
> .
> .
> err: Could not retrieve catalog from
Yes. The file is executable by everyone. Plus this worked prior to
installing Ruby 1.8.7 and Puppet 2.6.4.
On Feb 28, 3:40 pm, Nan Liu wrote:
> On Mon, Feb 28, 2011 at 3:36 PM, cyrus wrote:
> > I recently moved to Puppet 2.6.4. Prior to this I was using the
> > available RPMS for RHEL which were
Every now and then I get the following error on a Puppet run:
Mon Feb 28 21:19:04 -0700 2011 Puppet (err): Could not retrieve
catalog from remote server: Error 400 on SERVER: invalid value for
Integer: "eNp1VtmS6jgSfZ+v0NTDRHczgHfAEf0ABgw2i9kNLxXCFmDwhuSVrx/Zhirq
\n3h4CHFYqJWWmTp5DvV4H/
8bxMW8Gxyu
Hi Nick (long time :) )
On Tue, Mar 1, 2011 at 3:14 AM, Nick Moffitt wrote:
> I mean to write a lint checker for my manifests, but I am not a ruby
> developer to any degree of proficiency. What I think I would like is
> some kind of serialization of the AST for a given .pp file, which I can
> t
Dan Bode:
> Hi Nick (long time :) )
Hi! Nearly a year, by now!
> It is possible to parse a given file and get an ASTArray back, is that
> sufficient? I am pretty sure you are going to have to get your hands
> into the Ruby code to really figure this out.
I suppose so, although I hope that's som
I have some more info.
notice: Starting Puppet master version 2.6.5
info: mount[files]: allowing * access
debug: No modules mount given; autocreating with default permissions
debug: No plugins mount given; autocreating with default permissions
debug: Finishing transaction 23799637825120
info: acce
OMG! This site is really cool!.. http://fionola.co.il/links.php?iboaolid=350
--
Today is tommorrow I was so worried about yesterday ...
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegro
Thank you so much Luke, that was very helpful!
Luis
On Tue, Mar 1, 2011 at 1:52 AM, luke.bigum wrote:
> On Feb 28, 7:50 pm, Luis Miguel Silva
> wrote:
>> Dear all,
>>
>> I'm a software integrator and i'm currently evaluating Puppet to
>> understand how we can potentially integrate our products
More info. It appears it has to do with the Ruby I compiled. I am
running RHE5 which only comes with Ruby 1.8.5. Since I was
experiencing issues with Store Configs I wanted to update to 1.8.7 so
I could use the latest ActiveRecord, etc. Therefore I download the
Ruby 1.8.7 source and compile and ins
As far as guis and provisioning, those are covered by Foreman (under heavy
development at http://theforeman.org/)
(It doesn't do class building either, afaik nothing does right now.)
On Tue, Mar 1, 2011 at 1:28 PM, Luis Miguel Silva <
luismiguelferreirasi...@gmail.com> wrote:
> Thank you so much
Thanks!
Has anybody seen docs / information on using, for instance, xCAT or
Cobbler with Puppet?
Thank you,
Luis
On Tue, Mar 1, 2011 at 11:54 AM, Disconnect wrote:
> As far as guis and provisioning, those are covered by Foreman (under heavy
> development at http://theforeman.org/)
>
> (It doesn
Making some headway, I now have a work-around but would like to know
the real reason since my work around involves modifying the Puppet
code.
Here is the issue in: /usr/local/lib/ruby/site_ruby/1.8/puppet/util.rb
# The idea here is to avoid IO#read whenever possible.
output_file="/dev/null"
On Wed, Feb 23, 2011 at 2:04 PM, Nick Lewis wrote:
> Our current plan for the inventory service is to provide active_record
> termini for the "facts" and "inventory" indirections. This is to support
> fast look-up of facts, and search of nodes based on their facts. However,
> there are already tab
Luis Miguel Silva wrote:
> Thanks!
>
> Has anybody seen docs / information on using, for instance, xCAT or
> Cobbler with Puppet?
>
Cobbler:
https://fedorahosted.org/cobbler/wiki/UsingCobblerWithConfigManagementSystem
http://people.byte-code.com/fcrippa/wp-content/uploads/2008/06/fcrippa_large-
Thank you!
On Tue, Mar 1, 2011 at 2:48 PM, James Turnbull wrote:
> Luis Miguel Silva wrote:
>> Thanks!
>>
>> Has anybody seen docs / information on using, for instance, xCAT or
>> Cobbler with Puppet?
>>
>
> Cobbler:
>
> https://fedorahosted.org/cobbler/wiki/UsingCobblerWithConfigManagementSystem
Dear all,
Is there an api we can use to externally add / remove or update
classes in Puppet or add them to nodes?
Or is changing config files / running puppet commands the only way to
interface with Puppet?
Thank you,
Luis
--
You received this message because you are subscribed to the Google Gr
On Tue, 01 Mar 2011 15:06:13 -0700, Luis Miguel Silva wrote:
>
> Dear all,
>
> Is there an api we can use to externally add / remove or update
> classes in Puppet or add them to nodes?
> Or is changing config files / running puppet commands the only way to
> interface with Puppet?
>
> Thank you,
Each of my EC2 instances run Puppet as `puppet agent ... --certname=$(cat
/etc/puppet/certname)`, which works very well to get each instance to the
correct node stanza in nodes.pp.
I would like to use this certname value in the default node stanza thus:
node default {
@@nagios_host { "$setting
bcc:puppet-dev
Please follow the general status of this issue on the -users list.
There will be a follow-up email to the -dev list about how best to
resolve the remaining issue.
On Tue, Mar 1, 2011 at 7:53 AM, Nigel Kersten wrote:
> http://projects.puppetlabs.com/issues/6443
>
> We have a regre
Exactly what i was looking for, thanks!
On Tue, Mar 1, 2011 at 3:09 PM, Jacob Helwig wrote:
> On Tue, 01 Mar 2011 15:06:13 -0700, Luis Miguel Silva wrote:
>>
>> Dear all,
>>
>> Is there an api we can use to externally add / remove or update
>> classes in Puppet or add them to nodes?
>> Or is chan
An alternative is to use the Geppetto tool which parses puppet
manifests into a model.
There is a Java API for this model. It can also be serialized in other
formats that allow processing in other languages.
I am interested in what "lint rules" you had in mind, maybe we could
collaborate to
hello list! could someone please offer an opinion as to why the mysql
module I am attempting to include is not found?
## error
[root@pdb1 ~]# puppetd --test
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class mysql at
/etc/puppet/manifests/nodes.pp:25 on
> Is there a way to access the agent's certname as a variable?
>
Volcane suggested on IRC:
FACTER_certname=$(cat /etc/puppet/certname) puppet agent ... --certname=$(cat
/etc/puppet/certname)
which works fine. I turned it into a Ruby fact:
require 'facter'
require 'puppet'
Facter.add :certna
It's possible that your mysql class inside of that mysql module has broken
syntax, generating that error.
-Mark
On Mar 1, 2011, at 5:28 PM, Tim Dunphy wrote:
> hello list! could someone please offer an opinion as to why the mysql
> module I am attempting to include is not found?
>
> ## error
>
On Tue, Mar 01, 2011 at 02:11:31PM -0800, Richard Crowley wrote:
> Is there a way to access the agent's certname as a variable?
Other than the ones listed at
http://docs.puppetlabs.com/guides/faq.html#are-there-variables-available-other-than-those-provided-by-facter
not really.
Could you expose
Hi Tim,
is there a mysql class in your modules/mysql/init.pp manifest?
Cheers,
Atha
On Tuesday, March 1, 2011 at 7:28 PM, Tim Dunphy wrote:
> hello list! could someone please offer an opinion as to why the mysql
> module I am attempting to include is not found?
>
> ## error
>
> [root@pdb1 ~]# p
Hi
I have a number of apps that need to be installed from tarballs --
simple tar -zxf; configure; make install...
with a possible extra parameter to configure (usually prefix).
There are no prepackaged versions of these available as they are very
specialised application (security related).
I ca
What is the best way to have an external node script that encounters an
error fail? What should it do? Should it return a non zero exit code to the
OS? (of course, this doesn't seem to be documented anywhere). I just tested
the situation where my exteral node script returned 1 to the OS and printed
Typically I think people precompile and make custom OS packages. -Brian
On Tue, Mar 1, 2011 at 6:34 PM, russell.fulton wrote:
> Hi
>
> I have a number of apps that need to be installed from tarballs --
> simple tar -zxf; configure; make install...
> with a possible extra parameter to configure (
On Tue, Mar 1, 2011 at 5:34 PM, russell.fulton wrote:
> Hi
>
> I have a number of apps that need to be installed from tarballs --
> simple tar -zxf; configure; make install...
> with a possible extra parameter to configure (usually prefix).
>
> There are no prepackaged versions of these available
Am 02.03.2011 00:34, schrieb russell.fulton:
> I have a number of apps that need to be installed from tarballs --
> simple tar -zxf; configure; make install...
> with a possible extra parameter to configure (usually prefix).
>
> There are no prepackaged versions of these available as they are ve
Hi folks,
I'm very new to Puppet and perhaps what I'm trying to do is a trivial
thing. No so much for me though..
I use Puppet 2.6 to manage a bunch of CentOS 5 servers. A handful of web
servers, a handful of app-tier servers and a couple of other hosts -
ldap, mail, etc.
I've got a CentOS
Thanks for the responses :) I'll respond to all three here
OS is RedHat Enterprise :( not my first choice.
>
> Have you thought about solutions like checkinstall, which allow you to
> create packages for applications like that easily?
> Seehttp://www.asic-linux.com.mx/~izto/checkinstall/
Hi - I've searched around and haven't found anyone who's implemented a
type+provider for configuring network interfaces in puppet. Does anyone have
such a thing already running that's just not on forge / github? I found some
prior art (aside from the old 'interface' type which was deleted in 0.
Probably better to use network::interface, so you can add support for other
network resources.
Also:
https://github.com/ohlol/puppet-network
Old, out of date, not complete, but it's a start.
On Tue, Mar 1, 2011 at 5:50 PM, Eric Sorenson wrote:
> Hi - I've searched around and haven't found any
On Tue, Mar 1, 2011 at 2:14 PM, Nigel Kersten wrote:
> bcc:puppet-dev
>
> Please follow the general status of this issue on the -users list.
> There will be a follow-up email to the -dev list about how best to
> resolve the remaining issue.
>
>
> On Tue, Mar 1, 2011 at 7:53 AM, Nigel Kersten wrot
On Tue, Mar 1, 2011 at 5:40 PM, russell.fulton wrote:
> I am managing a fairly small set of machines (network security
> monitors) and some of these packages are being installed on just two
> or three boxes so spending a lot of time building packages is simply
> not worth it. The apps are also
On 3/1/2011 9:32 PM, Nigel Kersten wrote:
On Tue, Mar 1, 2011 at 5:40 PM, russell.fulton wrote:
I am managing a fairly small set of machines (network security
monitors) and some of these packages are being installed on just two
or three boxes so spending a lot of time building packages is simp
Nan,
I'm really confused here. Thanks to your tips, i was able to download
an extra-module (i tried downloading puppetlabs/apache and
bob-iptables) but i'm not entirely sure how to use them.
I first tried adding a class called "helloworld" via dashboard and
associated it with one of my nodes (whi
On Mar 1, 2011, at 4:58 PM, Giovanni Bordello wrote:
> Hi folks,
>
> I'm very new to Puppet and perhaps what I'm trying to do is a trivial thing.
> No so much for me though..
>
> I use Puppet 2.6 to manage a bunch of CentOS 5 servers. A handful of web
> servers, a handful of app-tier servers
Oh k, i just figured out how does Puppet get the node classes from the
dashboard, it does so by using the external node feature (that someone
had already talked about in this mailing list)! :o)
I'm just having some trouble understanding how do we specify classes
via site.pp and how to configure th
> > I think this is even more important when you have a lot of churn.
> > Simply being able to flip between versions of the packages quickly
> > will surely save an awful lot of time.
>
> What he said - really. Three immediate benefits:
>
> - having the build process entirely scripted in the s
I am having a fight with a postgressql nodule:
It defines:
class postgresql::base {
package {"postgresql":
ensure => present,
notify => undef,
}
...
and later we have a class that inherits the base class:
class postgresql::rhe::v8-4 inherits postgresql::base {
$data_dir = $
On Tue, Mar 1, 2011 at 8:13 PM, russell.fulton wrote:
>
> I'll repeat the question from my previous post: Is there a straight
> forward way to have a local rpm
> repository on the puppet server rather than relying on yum and the RHE
> channels?
Check out mrepo if you want to mirror another repos
russell.fulton wrote:
> I'll repeat the question from my previous post: Is there a straight
> forward way to have a local rpm repository on the puppet server
> rather than relying on yum and the RHE channels?
It's trivial to run createrepo /path/to/rpms to create the yum
metadata. You can then s
russell.fulton writes:
> I know this and agree with it in principle. It is just that at the
> moment I am extremely hard
> pressed and really don't have the time to work my way through figuring
> out how to build rpms
> from scratch. The package Daniel pointed out looks very promising in
>
Dear all,
I finally managed to load an extra module (apache) via dashboard but
i'm having trouble removing it?
My expectation was that, once i removed the class from the node
(stopped including it), Puppet would call some sort of deprovisioning
mechanism that would remove the class (so, in my case
On Tue, Mar 1, 2011 at 8:28 PM, Luis Miguel Silva
wrote:
> Oh k, i just figured out how does Puppet get the node classes from the
> dashboard, it does so by using the external node feature (that someone
> had already talked about in this mailing list)! :o)
>
> I'm just having some trouble understa
Thank you Nan, i will try that out.
Thanks a lot for taking the time to help me!
Luis
On Tue, Mar 1, 2011 at 9:48 PM, Nan Liu wrote:
> On Tue, Mar 1, 2011 at 8:28 PM, Luis Miguel Silva
> wrote:
>> Oh k, i just figured out how does Puppet get the node classes from the
>> dashboard, it does so by
Eric Sorenson wrote:
> Hi - I've searched around and haven't found anyone who's implemented a
> type+provider for configuring network interfaces in puppet. Does anyone
> have such a thing already running that's just not on forge / github? I
> found some prior art (aside from the old 'interface' ty
63 matches
Mail list logo