Re: [Puppet Users] parameterized class, external nodes?

2010-08-30 Thread Frederik Wagner
On Mon, Aug 30, 2010 at 7:07 AM, Jeff McCune wrote: > On Fri, Aug 27, 2010 at 2:12 PM, Frederik Wagner > wrote: >> >> Alternatively: It seems not to be possible to set the stage >> metaparameter with a default value in a class definition?! >> >> something like this wont run in Stage "pre": >> >>

[Puppet Users] How report errors and random errors in clients

2010-08-30 Thread Héctor Rivas Gándara
Hello, I am using puppet 2.6.1rc3 in a test environment with AIX, Suse, Debians. Right now there are 5 clients...  I am running puppet from cron each 30m (using random minute per host).  I have prepared a configuration ready to deploy puppet in all our infrastructure. If I deploy and use it every

[Puppet Users] Using "service" with a specific user

2010-08-30 Thread Matt
Hi ! I would like to use the type "service" to ensure that a service is currently started. Is there a way to specify a user that must run start or stop command ? In the same way that "exec". Regards, Matt -- You received this message because you are subscribed to the Google Groups "Puppet Use

Re: [Puppet Users] How report errors and random errors in clients

2010-08-30 Thread Daniel Pittman
Héctor Rivas Gándara writes: > I am using puppet 2.6.1rc3 in a test environment with AIX, Suse, > Debians. Right now there are 5 clients...  I am running puppet from cron > each 30m (using random minute per host).  I have prepared a configuration > ready to deploy puppet in all our infrastructure

Re: [Puppet Users] Using "service" with a specific user

2010-08-30 Thread Daniel Pittman
Matt writes: > I would like to use the type "service" to ensure that a service is currently > started. Is there a way to specify a user that must run start or stop > command? No. Traditionally, the start and stop commands would ensure that the software ran as the correct user internally — most

[Puppet Users] nginx+passenger+puppet

2010-08-30 Thread christopher floess
Hi all, I've used http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel_Nginx and http://projects/puppetlabs.com/projects/1/wiki/Using_Passenger to try to get puppet set up with nginx, but have had not luck up to this point. nginx successfully sends the request to the application. You

Re: [Puppet Users] Definitions in External Nodes

2010-08-30 Thread Nigel Kersten
On Sat, Aug 28, 2010 at 4:48 PM, Douglas Garstang wrote: > On Sat, Aug 28, 2010 at 3:49 PM, Thomas Bellman wrote: >> Nigel Kersten wrote: >> >>> On Sat, Aug 28, 2010 at 9:04 AM, Douglas Garstang >>> wrote: >> I mean that you need to create a new class for each customer you add. That do

[Puppet Users] #3933 - making puppetd fail as soon as a resource fails.

2010-08-30 Thread Nigel Kersten
http://projects.puppetlabs.com/issues/3933 This seems worthy of collecting more feedback... Anyone else interested in this feature? How would you want it to be implemented? -- nigel -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

Re: [Puppet Users] How report errors and random errors in clients

2010-08-30 Thread Héctor Rivas Gándara
> We monitor the logs the same way we monitor for any other failures in our > system.  I would generally suggest you take the same approach, since it means > you don't have two distinct processes for detecting problems. > (In my case, that involves both 'logcheck' as per the Debian package, and >  

Re: [Puppet Users] Using "service" with a specific user

2010-08-30 Thread Brian Gallew
The way you make the service start/stop by a specific user is to make sure the OS-standard start/stop script do su/sudo at the correct point. On Mon, Aug 30, 2010 at 6:43 AM, Daniel Pittman wrote: > Matt writes: > > > I would like to use the type "service" to ensure that a service is > currentl

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-08-30 Thread Todd Zullinger
Jean-Baptiste Quenot wrote: > After upgrading Puppet from 0.24.8 to 2.6.1rc2 at my company, I > notice that puppet agent's --tags option is not honored anymore: Did you happen to file a ticket for this yet? I need to test more myself, but I believe I saw this the other day too, with rc3. -- Tod

Re: [Puppet Users] Definitions in External Nodes

2010-08-30 Thread Alan Sparks
On 8/30/2010 9:44 AM, Nigel Kersten wrote: > This is much clearer now. > > Can you not solve this problem with extlookup now rather than having > to write custom functions? Either key the relevant data off a base > variable, or set the key to lookup info for in the external node > provider? > > I

Re: [Puppet Users] Definitions in External Nodes

2010-08-30 Thread Nigel Kersten
On Mon, Aug 30, 2010 at 5:35 PM, Alan Sparks wrote: >  On 8/30/2010 9:44 AM, Nigel Kersten wrote: >> This is much clearer now. >> >> Can you not solve this problem with extlookup now rather than having >> to write custom functions?  Either key the relevant data off a base >> variable, or set the k

Re: [Puppet Users] Using "service" with a specific user

2010-08-30 Thread Daniel Pittman
Brian Gallew writes: G'day Brian. The mechanism for ensuring your software runs with the right privileges actually varies a lot: some providers (like launchd) handle that internally, other platforms (like Debian) provide specific tools to do it. Additionally, many applications integrate this su

Re: [Puppet Users] #3933 - making puppetd fail as soon as a resource fails.

2010-08-30 Thread Daniel Pittman
Nigel Kersten writes: > http://projects.puppetlabs.com/issues/3933 > > This seems worthy of collecting more feedback... Anyone else > interested in this feature? How would you want it to be implemented? I followed up on the ticket, but to replicate it here: > I’m a bit unsure how we’d actually