Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-01 Thread Gareth Rushgrove
On 1 March 2014 09:38, Gareth Rushgrove wrote: > On 28 February 2014 10:20, Craig Dunn wrote: >> >> The main difference between Gareth's current params.pp and the 'defaults.pp' >> model I was suggesting is that in the Gareth's pattern the params class is >> inherited by the base class, and all th

Re: [Puppet Users] How to force a puppet service to restart - Not restarting automatically when config is initially updated.

2014-03-01 Thread Jeff Bachtel
While implementing restart is good, if for some reason you were unable to do that you need only set *hasrestart => false* for the service resource, per http://docs.puppetlabs.com/references/latest/type.html#service . That will cause Puppet to issue a service stop then service start, instead of

Re: [Puppet Users] How to force a puppet service to restart - Not restarting automatically when config is initially updated.

2014-03-01 Thread Robert Shady
Sorry for such a delay in replies, I had figured this out and forgot about this thread. ;) Yes, I did run it in debug mode and found out the problem was that pdns-recursor does not have a 'status' available, so puppet didn't know what to do. I implemented the status function in /etc/init.d/pdns

Re: [Puppet Users] Puppet module template mentioned at contributor summit

2014-03-01 Thread Gareth Rushgrove
On 28 February 2014 10:20, Craig Dunn wrote: > > The main difference between Gareth's current params.pp and the 'defaults.pp' > model I was suggesting is that in the Gareth's pattern the params class is > inherited by the base class, and all the component subclasses reference the > variables expli