[Puppet Users] Re: Resource ordering

2009-07-21 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Kanies wrote: > Is there any way to make some things fail softly so that they can be > less hard than class-wise fatal? > >> Hmm, no one's ever asked before. > >> It seems reasonable that we could mark some resources as non-fatal, >> but what

[Puppet Users] Re: Resource ordering

2009-07-21 Thread Luke Kanies
On Jul 21, 2009, at 5:31 PM, Trevor Vaughan wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is going to be a great feature. > > Over time, I've been struggling with trying to keep things extremely > modular (perhaps too much so) but still well ordered. > > When I can make ever

[Puppet Users] Re: Resource ordering

2009-07-21 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is going to be a great feature. Over time, I've been struggling with trying to keep things extremely modular (perhaps too much so) but still well ordered. When I can make every class that needs apache just 'require apache', I will be quite happ

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

2009-07-21 Thread Luke Kanies
On Jul 15, 2009, at 1:24 AM, Dan Bode wrote: > 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 Users] Re: puppetd no-daemonize

2009-07-21 Thread Luke Kanies
On Jul 13, 2009, at 2:13 PM, Derek Yarnell wrote: > So I have been trying to run puppet once in my kickstart %post > scripts but every time it detaches and daemonizes even though I have > explicitly stated otherwise. Am I missing something? > > # rpm -q puppet > puppet-0.24.8-1 > > # /usr/s

[Puppet Users] Re: Resource ordering

2009-07-21 Thread Luke Kanies
On Jul 17, 2009, at 6:08 AM, Burkholder, Peter wrote: > > I just finished listening to the Configuration Management panel from > OSBridge (on blip.tv). > > Near the end of it, Adam Jacob states that Puppet's resource > dependency > ordering is non-deterministic, > and that manifests that work f

[Puppet Users] Re: Resource ordering

2009-07-21 Thread James Turnbull
Burkholder, Peter wrote: > I just finished listening to the Configuration Management panel from > OSBridge (on blip.tv). > > Near the end of it, Adam Jacob states that Puppet's resource dependency > ordering is non-deterministic, > and that manifests that work fine 19 times will fail the 20th tim

[Puppet Users] Re: Resource ordering

2009-07-21 Thread Trevor Vaughan
I'm not biased and I also agree with Paul and James. While I have had trouble with getting my order right in some cases, it was generally a failing of the item that I was trying to configure *not* a problem with Puppet. It comes down to ordering something in a file implicitly or explicitly and I

[Puppet Users] new puppet config - fileserver issue

2009-07-21 Thread paul44
Hi I am a newbie to puppet. I have tried an initial config serving a simple file & dir from the puppetmaster, but the client will not mount. What obvious mistake am I making, I wonder? puppetmaster is a DNS alias for osiris3. Config files: [r...@osiris3 puppet]# cat fileserver.conf [config] pat

[Puppet Users] multi-case selectors

2009-07-21 Thread jc.listmail
Hi- I've been using Puppet for a few months now and am trying to work my recipes into something a little more elegant and efficient. One of the things I am trying to do is better selection. What I would really like to be able to do is sub-selection, but I can't figure out how it's done. For ex

[Puppet Users] Re: Toward a simple Nginx configuration for Puppet Mongrel

2009-07-21 Thread Peter Meier
Hi > I've created two Nginx patches (see at the end of this message) to allow > a simpler Nginx configuration for your Mongrel puppetmasters. > > The two main issues with Nginx in front of puppet were: > * no CRL support > * no optional certificate verification (and thus we're forced to hav

[Puppet Users] Re: large file download, timeout?

2009-07-21 Thread Peter Meier
Fernando Padilla wrote: > i mean, if they support multiple protocols, why can't they support > rsync? Maybe through a ssh-proxy setup by puppet? maybe, because nobody have yet written the rsync part?! cheers pete --~--~-~--~~~---~--~~ You received this message

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Nigel Kersten
On Fri, Jul 10, 2009 at 4:31 PM, Paul Lathrop wrote: > > Dear Puppeteers, > > I'm in desperate need of help. Here's the story: > > When I boot up new machines, they have a default puppet.conf which > causes them to talk to our production puppetmaster at > puppet.digg.internal. Some of these machin

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Paul Lathrop
So here's the really weird part. A week later I come back from vacation and it all works. Something odd is going on here and I'm going to investigate more thoroughly. --Paul On Tue, Jul 14, 2009 at 10:58 PM, Teyo Tyree wrote: > > > On Sat, Jul 11, 2009 at 1:18 AM, Greg wrote: >> >> Paul, >> >>

[Puppet Users] Toward a simple Nginx configuration for Puppet Mongrel

2009-07-21 Thread Brice Figureau
Hi, I've created two Nginx patches (see at the end of this message) to allow a simpler Nginx configuration for your Mongrel puppetmasters. The two main issues with Nginx in front of puppet were: * no CRL support * no optional certificate verification (and thus we're forced to have two sepa

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Trevor Vaughan
I use it via cron in general with a heavy splay and haven't had any issues so far. Of course, schedules are out the window, but I do schedule stuff via cron... Trevor On Tue, Jul 21, 2009 at 09:12, Matt wrote: > > I see the same issue when changing the runinterval option.  I > basically wanted

[Puppet Users] Re: Custom type fails when requiring another plugin

2009-07-21 Thread jcbollinger
On Jul 16, 4:48 pm, S H wrote: > Puppet 0.24.8. > > I'm building a custom type and have run into a bit of a snag. If I try to > require another plugin, my type fails to load on the "Retrieving plugins" > stage of the client run. > > I've tried to isolate this from my code by running extremely si

[Puppet Users] Re: optional file{ ensure => file}

2009-07-21 Thread korymatu
Could you put the affected systems in their own node? Node 'special1' inherits default ... You could apply the class for your .conf only to the systems that need while ensuring that they still receive the default barrage of management. On Jul 20, 4:41 pm, David Sowder wrote: > We're in the pro

[Puppet Users] Re: Vexed by puppet.conf

2009-07-21 Thread Matt
I see the same issue when changing the runinterval option. I basically wanted the polling time to change after a successful poll (after ca clean). I see the "reparsing puppet.conf" in the log file, but the daemon continues to poll at the original interval. This is on 0.24.8 on CentOS 5.1, I'm i

[Puppet Users] Re: large file download, timeout?

2009-07-21 Thread Matt
If you're hosting files in S3, i've been having great success with using :- http://reductivelabs.com/trac/puppet/wiki/Recipes/AmazonWebService Basically uses curl to pull an authenticated URL. 2009/7/21 James Turnbull : > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Fernando Padilla wr

[Puppet Users] Re: patching config files

2009-07-21 Thread Chris
On Jul 21, 11:19 am, David Schmitt wrote: > Chris wrote: > > Hi, > > > I'm a newbie here. > > > We are preparing a service that creates virtual servers on demand with > > a concrete installation and configuration. Reading though the FAQ and > > examples on the puppet web site, I am looking forw

[Puppet Users] Re: patching config files

2009-07-21 Thread David Schmitt
Chris wrote: > Hi, > > I'm a newbie here. > > We are preparing a service that creates virtual servers on demand with > a concrete installation and configuration. Reading though the FAQ and > examples on the puppet web site, I am looking forward to getting down > to work with it. However, I haven

[Puppet Users] Re: patching config files

2009-07-21 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris wrote: > Hi, > > I'm a newbie here. > > We are preparing a service that creates virtual servers on demand with > a concrete installation and configuration. Reading though the FAQ and > examples on the puppet web site, I am looking forward to g

[Puppet Users] patching config files

2009-07-21 Thread Chris
Hi, I'm a newbie here. We are preparing a service that creates virtual servers on demand with a concrete installation and configuration. Reading though the FAQ and examples on the puppet web site, I am looking forward to getting down to work with it. However, I haven't seen any information on ho