add shorewall rules
authormh <mh@immerda.ch>
Tue, 29 Sep 2009 20:22:36 +0000 (22:22 +0200)
committermh <mh@immerda.ch>
Tue, 29 Sep 2009 20:22:36 +0000 (22:22 +0200)
manifests/client.pp
manifests/host.pp

index df9ab06..7894e2f 100644 (file)
@@ -20,6 +20,9 @@ class munin::client {
         gentoo: { include munin::client::gentoo }
         default: { include munin::client::base }
     }
+    if $use_shorewall {
+        include shorewall::rules::munin
+    }
 }
 
 define munin::register()
index 21cf7df..235e07c 100644 (file)
@@ -40,6 +40,9 @@ class munin::host
     content => "4,34 * * * * root if $(ps ax | grep -v grep | grep -q munin-run); then killall munin-run; fi\n",
     owner => root, group => 0, mode => 0644;
   }
+  if $use_shorewall {
+    include shorewall::rules::out::munin
+  }
 }
 
 class munin::host::cgi {