From: Stephen Gran Date: Sun, 7 Mar 2010 09:00:53 +0000 (+0000) Subject: this should be cool X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=3cd07d65612efc1d9c9fd485a4ccaa714c26a4d7;p=mirror%2Fdsa-puppet.git this should be cool Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp index 84fc808d7..ff57e9140 100644 --- a/modules/ferm/manifests/init.pp +++ b/modules/ferm/manifests/init.pp @@ -48,6 +48,12 @@ class ferm { notify => Exec["ferm restart"]; } + $munin_ips = split(regsubst($v4ips, '([^,]+)', 'ip_\1', 'G'), ',') + + activate_munin_check { + $munin_ips: script => "ip_"; + } + exec { "ferm restart": command => "/etc/init.d/ferm restart", refreshonly => true,