On 01/26/2011 01:16 PM, JupiterMoonBeam wrote:
> Hi,
> 
> We've got our puppetmaster under puppet control and our /etc/puppet
> dir tucked safely away in Mercurial.
> 
> With the help of the vcsrepo module we're automatically pulling the
> latest changes from /etc/puppet giving us a nice little cycle (only
> checked-in stuff can be deployed!).
> 
> However, there's a delay of one run between changes (as the repo gets
> updated but the current run is still under the old config).  Is there
> anyway of getting puppet to rerun with the new config when the repo
> changes?
> 
> Has anyone else done this and have any good suggestions?

I've used an exec of "echo puppetd --test | at now+2min" to a similar end.
You really want to let some time pass so that the next run won't trip
over the current run's lock.

HTH,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to