summaryrefslogtreecommitdiff
path: root/manifests/rules/munin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-04-25 15:28:26 +0200
committermh <mh@immerda.ch>2017-04-25 15:41:09 +0200
commitc2bf7e71d8598dbb05b5dee9f452b6332e9e916e (patch)
tree1e76551ccb51a8eaebf7c643847dd76197aafdcb /manifests/rules/munin.pp
parent591b48169ba18c8f9d8337aa2626d716e6866476 (diff)
make it possibble to disable ipv6 for these rules
Diffstat (limited to 'manifests/rules/munin.pp')
-rw-r--r--manifests/rules/munin.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/rules/munin.pp b/manifests/rules/munin.pp
index 252f2ed..9496138 100644
--- a/manifests/rules/munin.pp
+++ b/manifests/rules/munin.pp
@@ -2,7 +2,8 @@
class shorewall::rules::munin(
$munin_port = '4949',
$munin_collector = ['127.0.0.1'],
- $collector_source = 'net'
+ $collector_source = 'net',
+ $shorewall6 = true,
){
shorewall::params4{
'MUNINPORT': value => $munin_port;
@@ -14,6 +15,7 @@ class shorewall::rules::munin(
proto => 'tcp',
destinationport => '$MUNINPORT',
order => 240,
+ shorewall6 => $shorewall6,
action => 'ACCEPT';
}
}