]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/nagios/manifests/client.pp
this should virtually work
[dsa-puppet.git] / modules / nagios / manifests / client.pp
index 285fdfc0c788b5079ae0cc8472da6b6136ca6df5..9cea3378a4fec2f3abd6a5cc1fb167c832bb7ed2 100644 (file)
@@ -45,4 +45,8 @@ class nagios::client inherits nagios {
                path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
                refreshonly => true,
        }
+        @ferm::rule { "dsa-nagios":
+                description     => "Allow nrpe from nagios master",
+                rule            => "proto tcp mod state state (NEW) dport (5666) @subchain 'nagios' { saddr (\$HOST_NAGIOS) ACCEPT; }"
+        }
 }