summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-06-02 11:52:30 +0200
committermh <mh@immerda.ch>2009-06-02 11:52:30 +0200
commite6b9c153680f94acb0201394325d9c2a2bdd4b0a (patch)
tree264fd231cbd312c7d3529171a8184001e56a84a6 /manifests
parent3b784f08508a2fdfa6fbb988c5cb4891bff5df10 (diff)
parent11ff5755c2ee3929b4422a8128827a0e9967d964 (diff)
Merge commit 'origin/master'
Diffstat (limited to 'manifests')
-rw-r--r--manifests/host.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index fdaa255..21cf7df 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -34,6 +34,12 @@ class munin::host
case $operatingsystem {
centos: { include munin::host::cgi }
}
+
+ # from time to time we cleanup hanging munin-runs
+ file{'/etc/cron.d/munin_kill':
+ content => "4,34 * * * * root if $(ps ax | grep -v grep | grep -q munin-run); then killall munin-run; fi\n",
+ owner => root, group => 0, mode => 0644;
+ }
}
class munin::host::cgi {