[Puppet Users] Re: exported resources work sometimes

2009-01-22 Thread Gary
Thanks Luke, I commented out [rails] in puppet.conf. I forgot what I was using it anyway. I tried updating all gems to the their newest versions without success. I also tried using postgres but I got the error which the wiki says happens when the gem is not installed. Strange. So I am back to S

[Puppet Users] Re: Nagios_host files are mode 600, need 644

2009-01-22 Thread Luke Kanies
On Jan 22, 2009, at 4:55 PM, Scott wrote: > The issue is that I don't know the exact names of all the nagios_hosts > ahead of time, so I can't declare file resources explicitly, each host > has it's own host file. > > So I've tried declaring a "file" resource for the directory that the > nagios_h

[Puppet Users] Re: Making a variable visible in parent class (scoping)

2009-01-22 Thread Luke Kanies
On Jan 21, 2009, at 11:21 PM, Scott wrote: > Luke, thanks for the reply. So just to clarify, you can't even have a > child class append to an array declared in the parent class and have > it visible in the parent class? It's a question of ordering - by the time the child class has an opportu

[Puppet Users] Re: exported resources work sometimes

2009-01-22 Thread Luke Kanies
On Jan 20, 2009, at 3:34 AM, gary wrote: > Hello Jason, > > My MySQL wait_timeout is set to the default of 8 hours. Through IRC, > James and Andrew had looked into it a bit. From what we all read, > Puppet should be checking the connection and re-establishing it if > necessary. > > Perhaps I'm mi

[Puppet Users] Re: Error reporting via email

2009-01-22 Thread Dave Nash
I think this is fixed in 0.24.6, at least that is when it started e-mailing me error's. I had actually forgotten I tried setting this up and it took me a few minutes to realized why I was suddenly getting these e-mails. --dn On Thu, Jan 22, 2009 at 4:01 AM, Lucas Di Pentima wrote: > > -BEGIN

[Puppet Users] Re: Nagios_host files are mode 600, need 644

2009-01-22 Thread Scott
The issue is that I don't know the exact names of all the nagios_hosts ahead of time, so I can't declare file resources explicitly, each host has it's own host file. So I've tried declaring a "file" resource for the directory that the nagios_host files get deposited in and using "recurse" to set

[Puppet Users] Re: host group

2009-01-22 Thread Arnau Bria
Thanks to both for your replies. I'll take a look and come back with my decision. Cheers, Arnau --~--~-~--~~~---~--~~ 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

[Puppet Users] Re: host group

2009-01-22 Thread Nicolas Szalay
Mike Renfro wrote: > On 1/22/2009 10:42 AM, Arnau Bria wrote: > >> Then adding a noe is just adding a new line to a file... >> I'll manage about 100-120 hosts...1 > > I manage about 90 with the 'node "node1", "node2", "node3" {}' method, > but my groupings are pretty static. Entered them once,

[Puppet Users] Re: host group

2009-01-22 Thread Mike Renfro
On 1/22/2009 10:42 AM, Arnau Bria wrote: > Then adding a noe is just adding a new line to a file... > I'll manage about 100-120 hosts...1 I manage about 90 with the 'node "node1", "node2", "node3" {}' method, but my groupings are pretty static. Entered them once, and haven't thought about it m

[Puppet Users] Re: host group

2009-01-22 Thread Arnau Bria
On Thu, 22 Jan 2009 10:32:14 -0600 Mike Renfro wrote: > > On 1/22/2009 10:11 AM, Arnau Bria wrote: > > > Yep, I was thinking of inherits, but I'll have to control host group > > like: > > node "nodeA" "nodeB" { > > } > > > > which is what I'm trying to not use. > > Your original concept used

[Puppet Users] Re: host group

2009-01-22 Thread Mike Renfro
On 1/22/2009 10:11 AM, Arnau Bria wrote: > Yep, I was thinking of inherits, but I'll have to control host group > like: > node "nodeA" "nodeB" { > } > > which is what I'm trying to not use. Your original concept used something like WN_A { td234.pic.es } WN_B { td065.pic.es

[Puppet Users] Re: Nagios_host files are mode 600, need 644

2009-01-22 Thread Peter Meier
Hi > Hi, so I'm exporting a nagios_host type that gets collected by the > nagios server and each host has it's own file, however, when each host > file is written, it's only readable by root. How can I make all the > files mode 644 when they're written? Or how would I go about using > the "file

[Puppet Users] Re: host group

2009-01-22 Thread Arnau Bria
On Thu, 22 Jan 2009 08:16:48 -0700 Zach Buckholz wrote: > > > Has anyone put together a puppet proposal for deploying puppet in your > environment? I don't understand you, sorry. > Zach Arnau --~--~-~--~~~---~--~~ You received this message because you are sub

[Puppet Users] Re: host group

2009-01-22 Thread Arnau Bria
On Thu, 22 Jan 2009 09:34:11 -0600 Mike Renfro wrote: > > On 1/22/2009 9:10 AM, Arnau Bria wrote: > > > Is there ant way for grouping node in nodes.pp? > > The following should work for what you described. I use a similar > model to have a parent class for all compute cluster nodes, and then

[Puppet Users] Re: host group

2009-01-22 Thread Mike Renfro
On 1/22/2009 9:10 AM, Arnau Bria wrote: > Is there ant way for grouping node in nodes.pp? The following should work for what you described. I use a similar model to have a parent class for all compute cluster nodes, and then child classes for each group of nodes that needs a slightly differen

[Puppet Users] Re: host group

2009-01-22 Thread Zach Buckholz
Has anyone put together a puppet proposal for deploying puppet in your environment? Zach On 1/22/09 8:10 AM, "Arnau Bria" wrote: > > Hi, > > maybe it's in front of me but I can't see it, maybe I'm looking for > something in existent, but sounds strange to me. > > Is there ant way for gro

[Puppet Users] host group

2009-01-22 Thread Arnau Bria
Hi, maybe it's in front of me but I can't see it, maybe I'm looking for something in existent, but sounds strange to me. Is there ant way for grouping node in nodes.pp? I mean, now I have: # cat nodes.pp node "td234.pic.es" , "td065.pic.es", "td006.pic.es" [...]{ include worker_node

[Puppet Users] Re: debugging

2009-01-22 Thread Thomas Bellman
kevin wrote: > I'd like to run puppet and see exactly what it would do, or what it > tried to do. > > Do i need to run puppet or puppetd to get that to happen? I've been > trying the --verbose --parseonly options, but they have not been > working as I would expect... You probably want to use t

[Puppet Users] debugging

2009-01-22 Thread kevin
Here is what I'd like to do: I'd like to run puppet and see exactly what it would do, or what it tried to do. Do i need to run puppet or puppetd to get that to happen? I've been trying the --verbose --parseonly options, but they have not been working as I would expect... --~--~-~--~

[Puppet Users] Re: RHEL 5.1 + Puppet 0.24.7, iptables not stopping

2009-01-22 Thread ere
On 22 Jan, 15:01, Thomas Bellman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > ere wrote: > > | As you can see I first start crond and iptables, then execute puppet, > | and finally check the result. > | Crond stops, but not iptables even if that is what I (think I) > | specified i

[Puppet Users] Re: RHEL 5.1 + Puppet 0.24.7, iptables not stopping

2009-01-22 Thread Thomas Bellman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ere wrote: | As you can see I first start crond and iptables, then execute puppet, | and finally check the result. | Crond stops, but not iptables even if that is what I (think I) | specified in the manifest. The problem is that by default the servi

[Puppet Users] Re: reporting, rollback

2009-01-22 Thread Peter Meier
Hi > thanks for the response, the only feature that I have to support with > rollback is files, its just something that I have to do for the first > production deployment (while everyone gets used to this new system touching > production servers). I really wasnt that difficult, I am parsing YAML

[Puppet Users] RHEL 5.1 + Puppet 0.24.7, iptables not stopping

2009-01-22 Thread ere
- RHEL 5.1 - Puppet 0.24.7 - Puppetmaster and client on the same host This is all puppet-code for node "mynode" : node 'mynode' { service { iptables: ensure => stopped, } service { crond: ensure => stopped, } } [r...@mynode]# serv

[Puppet Users] Re: checking syntax or linting a manifest without applying it

2009-01-22 Thread lluis
If you use subversion to deploy your manifests, you can also set a pre-commit hook: http://reductivelabs.com/trac/puppet/wiki/Recipes/SubversionCommitHooks El dt 20 de 01 de 2009 a les 23:26 -0800, en/na kevin va escriure: > > > On Jan 20, 11:34 pm, James Turnbull wrote: > > -BEGIN PGP S

[Puppet Users] Error reporting via email

2009-01-22 Thread Lucas Di Pentima
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello all, I'm using Puppet (both server and clients on 0.24.5 version under Debian Lenny) for managing 10 servers, and I would like to set up reporting so that any problem that might happen applying the configs, the puppetmaster would send me an ema