]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin-node/manifests/init.pp
this should virtually work
[dsa-puppet.git] / modules / munin-node / manifests / init.pp
index 8ba1fbe58e69142bd85d5213647cb57ffe53d12b..5ddbf6eb3d86c1150cf5f08719be8bf94c14effe 100644 (file)
@@ -75,5 +75,9 @@ class munin-node {
         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }
+    @ferm::rule { "dsa-munin":
+            description     => "Allow munin from munin master",
+            rule            => "proto tcp mod state state (NEW) dport (munin) @subchain 'munin' { saddr (\$HOST_MUNIN) ACCEPT; }"
+    }
 }