From 3cd07d65612efc1d9c9fd485a4ccaa714c26a4d7 Mon Sep 17 00:00:00 2001
From: Stephen Gran <steve@lobefin.net>
Date: Sun, 7 Mar 2010 09:00:53 +0000
Subject: [PATCH] this should be cool

Signed-off-by: Stephen Gran <steve@lobefin.net>
---
 modules/ferm/manifests/init.pp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp
index 84fc808d..ff57e914 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,
-- 
2.39.5