summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 22:22:36 +0200
committermh <mh@immerda.ch>2009-09-29 22:22:36 +0200
commitc63a28d3c16ec2bb3a46d3d5faf6d7ef3b737b70 (patch)
tree937515894d81f26dbc58149d48bc9de376b8eb4e /manifests
parent2ec7065337abc02835be322151c78da4a2410baf (diff)
add shorewall rules
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp3
-rw-r--r--manifests/host.pp3
2 files changed, 6 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index df9ab06..7894e2f 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -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()
diff --git a/manifests/host.pp b/manifests/host.pp
index 21cf7df..235e07c 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -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 {