diff options
author | mh <mh@immerda.ch> | 2014-09-13 05:16:18 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-09-13 05:16:18 +0200 |
commit | ec4e2ba4f6f90116927ead35fca8c525a64a9e57 (patch) | |
tree | ceb5f922aa89f92666c4086e71febab6a122b980 /manifests/host.pp | |
parent | 39eb7ac31ad7f1fc16c37c42823fb1860c1f09ba (diff) | |
parent | ee32ce830d98b38f68293a648ca7dd83fde14422 (diff) |
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'manifests/host.pp')
-rw-r--r-- | manifests/host.pp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/manifests/host.pp b/manifests/host.pp index 55e28bf..0e5fb01 100644 --- a/manifests/host.pp +++ b/manifests/host.pp @@ -8,7 +8,6 @@ class munin::host( $export_tag = 'munin' ) { package {'munin': ensure => installed, } - include concat::setup Concat::Fragment <<| tag == $export_tag |>> @@ -39,12 +38,12 @@ class munin::host( } # 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', + cron { 'munin_kill': + command => 'if $(ps ax | grep -v grep | grep -q munin-run); then killall munin-run; fi', + minute => ['4', '34'], + user => 'root', } + if $munin::host::manage_shorewall { include shorewall::rules::out::munin } |