and actually quote correctly
[mirror/dsa-puppet.git] / modules / munin-node / manifests / init.pp
index 8ba1fbe..0849cc1 100644 (file)
@@ -75,5 +75,10 @@ class munin-node {
         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
+    ferm::rule { "dsa-munin":
+            domain          => "(ip ip6)",
+            description     => "Allow munin from munin master",
+            rule            => "proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN) ACCEPT; }"
+    }
 }