From c63a28d3c16ec2bb3a46d3d5faf6d7ef3b737b70 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 22:22:36 +0200 Subject: add shorewall rules --- manifests/client.pp | 3 +++ manifests/host.pp | 3 +++ 2 files changed, 6 insertions(+) (limited to 'manifests') 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 { -- cgit v1.2.3