[Puppet Users] Re: service restart upon notify

2012-04-16 Thread jcbollinger
On Apr 12, 3:07 pm, puppetguest wrote: > I have choosen to split my module into several .pp files as i have > seen in an example and makes it cleaner i think. > > \modules\mysoftware\ > init.pp > install.pp > config.pp > service.pp > > Is that recommended or too many disadvantages ? The recomm

Re: [Puppet Users] Re: service restart upon notify

2012-04-13 Thread Frank Schaefer
Works like a charm now: include mysoftware::service and notify => Class["mysoftware::service"], Thanks! 2012/4/13 Sans > "notify => Class["mysoftware::service"]" should work without any > problem. Did you remember to include it beforehand? > >include mysoftware::service > > > "notify => E

[Puppet Users] Re: service restart upon notify

2012-04-13 Thread Sans
"notify => Class["mysoftware::service"]" should work without any problem. Did you remember to include it beforehand? include mysoftware::service "notify => Exec['mysoftwarerestart']" should work too. Cheers!! On Apr 12, 11:39 pm, Trevor Smith wrote: > On Thursday, April 12, 2012 4:07:40

[Puppet Users] Re: service restart upon notify

2012-04-12 Thread Trevor Smith
On Thursday, April 12, 2012 4:07:40 PM UTC-4, puppetguest wrote: > > I have choosen to split my module into several .pp files as i have > seen in an example and makes it cleaner i think. > > \modules\mysoftware\ > init.pp > install.pp > config.pp > service.pp > > Is that recommended or too