Re: [Puppet Users] exec and subsribe

2010-09-26 Thread Luc Suryo
Thanks Bruce! On Sun, Sep 26, 2010 at 9:11 AM, Bruce Richardson wrote: > On Fri, Sep 24, 2010 at 01:32:15PM -0700, Luc Suryo wrote: > > Hello > > > > simple question ... if 2 or more EXEC subcribes to a file and that file > is > > changed would > > then all the EXECs be run ? > > Yes - unless som

Re: [Puppet Users] exec and subsribe

2010-09-26 Thread Bruce Richardson
On Fri, Sep 24, 2010 at 01:32:15PM -0700, Luc Suryo wrote: > Hello > > simple question ... if 2 or more EXEC subcribes to a file and that file is > changed would > then all the EXECs be run ? Yes - unless some other condition prevents it (e.g. a failed dependency). > or does it depend whatever t

Re: [Puppet Users] exec and subsribe

2010-09-24 Thread Luc Suryo
I did some test indeed but it was nog clear whatever both exec were executed i have named.conf and in some case it need a reload and other cases a restart if it changes ... but all good. thanks On Fri, Sep 24, 2010 at 4:57 PM, Silviu Paragina wrote: > notify and subscribe are somewhat the sam

Re: [Puppet Users] exec and subsribe

2010-09-24 Thread Silviu Paragina
notify and subscribe are somewhat the same thing, but specified in different parts of the dependency. The file resource should notify both execs and/or services, if it doesn't it should be considered a bug and reported. ;) You should try it just to be sure, it's usually faster than waiting for

[Puppet Users] exec and subsribe

2010-09-24 Thread Luc Suryo
Hello simple question ... if 2 or more EXEC subcribes to a file and that file is changed would then all the EXECs be run ? or does it depend whatever the FILE notifies the EXEC? please bare in mind. I'm a 'new' puppet user, thanks -- -ls -- You received this message because you are subscribe