projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9849f8c
)
Hopefully this doesn't cause 4 puppet processes to run simultaneously
author
Stephen Gran
<steve@lobefin.net>
Tue, 14 Apr 2009 07:49:08 +0000
(08:49 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Tue, 14 Apr 2009 07:49:08 +0000
(08:49 +0100)
everywhere
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/monit/files/puppet
patch
|
blob
|
history
diff --git
a/modules/monit/files/puppet
b/modules/monit/files/puppet
index
37c728b
..
39a5626
100644
(file)
--- a/
modules/monit/files/puppet
+++ b/
modules/monit/files/puppet
@@
-9,3
+9,8
@@
check process puppetd with pidfile /var/run/puppet/puppetd.pid
if cpu > 60% for 5 cycles then restart
if 5 restarts within 5 cycles then timeout
+check file puppetstate
+ with path /var/lib/puppet/state/state.yaml
+ if timestamp > 1 hour then exec "/etc/init.d/puppet stop"
+ depends on puppetd
+