aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/rules/munin.pp')
-rw-r--r--manifests/rules/munin.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/rules/munin.pp b/manifests/rules/munin.pp
index 26cebfe..0c86abe 100644
--- a/manifests/rules/munin.pp
+++ b/manifests/rules/munin.pp
@@ -1,10 +1,10 @@
class shorewall::rules::munin(
- $munin_port = hiera('munin_port','4949'),
- $munin_collector = hiera('munin_collector','127.0.0.1'),
- $collector_source = hiera('shorewall_munin_in_collector_source','net')
+ $munin_port = '4949',
+ $munin_collector = '127.0.0.1',
+ $collector_source = 'net'
){
shorewall::params { 'MUNINPORT': value => $munin_port }
- shorewall::params { 'MUNINCOLLECTOR': value => $munin_collector }
+ shorewall::params { 'MUNINCOLLECTOR': value => join($munin_collector,',') }
shorewall::rule{'net-me-munin-tcp':
source => "${collector_source}:\$MUNINCOLLECTOR",
destination => '$FW',