[Puppet Users] Re: custom definitions require and +

2009-07-15 Thread robert.gstoehl
Seems to work so far, thanks. What happens when a $require is passed to the definition which contains an array? require = [ Package[wget], $require ] My quick test (printing out $require via a notify) indicate that only the first item of the array is included. Is there a way to merge arrays?

[Puppet Users] Re: custom definitions require and +

2009-07-15 Thread robert.gstoehl
Hm, with --debug it seems like all the dependencies, even an array of them, get passed to the nested exec. Voodoo :) Thanks for your help. On Jul 15, 9:55 am, robert.gstoehl robert.gsto...@gmail.com wrote: Seems to work so far, thanks. What happens when a $require is passed to the definition

[Puppet Users] Re: custom definitions require and +

2009-07-15 Thread David Schmitt
robert.gstoehl wrote: Seems to work so far, thanks. What happens when a $require is passed to the definition which contains an array? require = [ Package[wget], $require ] My quick test (printing out $require via a notify) indicate that only the first item of the array is included. Is

[Puppet Users] Re: custom definitions require and +

2009-07-15 Thread robert.gstoehl
I'm still on 0.23.2 for some time. Planning the upgrade at the moment. On Jul 15, 10:09 am, David Schmitt da...@dasz.at wrote: robert.gstoehl wrote: Seems to work so far, thanks. What happens when a $require is passed to the definition which contains an array? require = [ Package[wget],

[Puppet Users] will resource noop always override puppetd

2009-07-15 Thread Dan Bode
For my use case, I have set the following in puppet.conf on the agent [puppetd] noop=true on the server, in the puppet module, I set the following: file{/etc/puppet/puppet.conf: noop = false, content = template(puppet/puppet-agent.conf), } I have noticed that this works, noop

[Puppet Users] Re: custom definitions require and +

2009-07-15 Thread Peter Meier
Hi I'm still on 0.23.2 for some time. Planning the upgrade at the moment. then it might be worth witing for 0.25.0 imho... cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] Re: executing some code with subscribe/notify/unless

2009-07-15 Thread David Schmitt
Arnau Bria wrote: Hi all, I have some code to execute that depends on two things: 1.-) some file is modified 2.-) its log shows some error. So I'd like to define both conditions, and I've done it like: file { file1: recurse = true, owner =

[Puppet Users] Re: will resource noop always override puppetd

2009-07-15 Thread David Schmitt
Dan Bode wrote: [noop on resource overrides global noop setting] Is this intended behavior, will this be supported in future versions, or will this be likely to break. The UPGRADE document for 0.24.3 says this: Downloading plugins and facts now ignores noop. Note that this changes the

[Puppet Users] Re: ssh_authorized_key completely ignoring require

2009-07-15 Thread Chris Blumentritt
I have run into this problem today trying to stand up some new servers. On Tue, Apr 21, 2009 at 11:44 PM, Andrew Shafer and...@reductivelabs.comwrote: Scott, Can you pastie the simplest code to reproduce and maybe attach the files created by --graph to see what the relationships look like.

[Puppet Users] Re: executing some code with subscribe/notify/unless

2009-07-15 Thread Arnau Bria
On Wed, 15 Jul 2009 15:43:37 +0200 David Schmitt wrote: Hi David, Have you tried setting the refreshonly parameter on the Exec? yes I did, but, IIRC, my problem is still there, cause it evaluates the unless and nothing is done as log is clear. file's notify does its work, but I don't see how

[Puppet Users] Re: will resource noop always override puppetd

2009-07-15 Thread Nigel Kersten
On Wed, Jul 15, 2009 at 7:35 AM, David Schmittda...@dasz.at wrote: Dan Bode wrote: [noop on resource overrides global noop setting] Is this intended behavior, will this be supported in future versions, or will this be likely to break. The UPGRADE document for 0.24.3 says this:

[Puppet Users] Re: will resource noop always override puppetd

2009-07-15 Thread Dan Bode
thanks David, At least this feature was implemented for a good reason (even though I wish they would add certificates to that list:) It seems reasonable to assume that this feature will not break in the future. On Wed, Jul 15, 2009 at 4:35 PM, David Schmitt da...@dasz.at wrote: Dan Bode

[Puppet Users] Re: crontab and mailto

2009-07-15 Thread jcbollinger
On Jul 15, 4:05 am, Rupert linux...@googlemail.com wrote: is there a way to specify a mailto directive for a block of cronjobs? Right now I have the same email address in 4 cronjobs, i would like to defide that address only on the beginning fo such block. I'm not clear on how you're

[Puppet Users] Puppet meet Uup July 29th NYC 7p

2009-07-15 Thread Larry Ludwig
Hi All We are scheduling a NYC Puppet Meet Up. --~--~-~--~~~---~--~~ 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 unsubscribe from this group,

[Puppet Users] Puppet User Group July 29th NYC 7p

2009-07-15 Thread Larry Ludwig
Hi All We are scheduling a NYC Puppet User Group on July 29th in NYC at 7pm. Location to be determined. If anyone is interested in donating space please let me know. We may have some formal discussions and open to any topics you want discussed. If attending, reply to this thread. -L Larry

[Puppet Users] Re: Puppet meet Uup July 29th NYC 7p

2009-07-15 Thread Burkholder, Peter
Anyone interested in a DC meet up? Could someone cross post to puppet-dev? I could probably organize at my workplace offices @ Gallery Place metro. -Peter -Original Message- From: puppet-users@googlegroups.com [mailto:puppet-us...@googlegroups.com] On Behalf Of Larry Ludwig

[Puppet Users] puppet recipes

2009-07-15 Thread Asif Iqbal
Hi I am looking for recipe or some hints to a recipe that can help me achieve the following I have about 300 servers of different functions. To make it easy I decided to keep multiple group dirs based on the function and have hosts,passwd,users,sudoers file located inside those function dirs,

[Puppet Users] Re: puppet recipes

2009-07-15 Thread Teyo Tyree
Hey Asif, On Wed, Jul 15, 2009 at 12:51 PM, Asif Iqbal vad...@gmail.com wrote: Hi I am looking for recipe or some hints to a recipe that can help me achieve the following I have about 300 servers of different functions. To make it easy I decided to keep multiple group dirs based on the

[Puppet Users] Re: Puppet User Group July 29th NYC 7p

2009-07-15 Thread Teyo Tyree
On Wed, Jul 15, 2009 at 10:03 AM, Larry Ludwig larry...@gmail.com wrote: Hi All We are scheduling a NYC Puppet User Group on July 29th in NYC at 7pm. Location to be determined. If anyone is interested in donating space please let me know. We may have some formal discussions and open to

[Puppet Users] Re: Puppet User Group July 29th NYC 7p

2009-07-15 Thread Larry Ludwig
On Jul 15, 2009, at 5:48 PM, Teyo Tyree wrote: I will definitely be there. Going to be in town providing Puppet training to the masses. Don't you mean spreading the gospel? :-) -L Cheers, Teyo -- Teyo Tyree :: www.reductivelabs.com

[Puppet Users] simple failure on service{ensure=false}

2009-07-15 Thread Fernando Padilla
I'm just starting to learn puppet, and I'm using the lates ubuntu jaunty image on ec2. I noticed a random service that I wanted to shutdown so I added this: class no_avahi { service { avahi-daemon: ensure = false } } And it sort-of worked, except this is what

[Puppet Users] Re: simple failure on service{ensure=false}

2009-07-15 Thread Fernando Padilla
I just saw this in the logs.. maybe it's a clue. Jul 16 05:47:34 (none) puppetd[11187]: Found multiple default providers for service: freebsd, debian; using freebsd I might have to force the platform somehow to be debian or ubuntu?? Fernando Padilla wrote: I'm just starting to learn puppet,