diff options
-rw-r--r-- | manifests/client.pp | 3 | ||||
-rw-r--r-- | manifests/host.pp | 3 |
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 { |