calculation for a slow puppetd to update the state file. What I'm
trying to avoid is a "file check killing puppet and a pid check starting
it" loop because the checks are too close together.
Signed-off-by: Stephen Gran <steve@lobefin.net>
check file puppetstate
with path /var/lib/puppet/state/state.yaml
- if timestamp > 1 hour then exec "/etc/init.d/puppet stop"
+ if timestamp > 45 minutes for 3 cycles then exec "/etc/init.d/puppet stop"
depends on puppetd