this should be cool
[mirror/dsa-puppet.git] / modules / ferm / manifests / init.pp
index 84fc808..ff57e91 100644 (file)
@@ -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,