summaryrefslogtreecommitdiff
path: root/manifests/rules/munin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-11-05 14:50:26 +0100
committermh <mh@immerda.ch>2011-11-05 14:50:26 +0100
commit052f749adb3b488388cba57f65f74852621ac1fa (patch)
treeaf9614fd4868e4c9f19fbfd8d5d72bd514f23680 /manifests/rules/munin.pp
parent8f033c40a6ff210ce295db2bde025d739f8c3053 (diff)
allow ssh_in source to be selected by hiera, better naming for the same option for munin
Diffstat (limited to 'manifests/rules/munin.pp')
-rw-r--r--manifests/rules/munin.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/rules/munin.pp b/manifests/rules/munin.pp
index 17f0961..26cebfe 100644
--- a/manifests/rules/munin.pp
+++ b/manifests/rules/munin.pp
@@ -1,12 +1,12 @@
class shorewall::rules::munin(
$munin_port = hiera('munin_port','4949'),
$munin_collector = hiera('munin_collector','127.0.0.1'),
- $collector_interface_source = hiera('munin_collector_interface_source','net')
+ $collector_source = hiera('shorewall_munin_in_collector_source','net')
){
shorewall::params { 'MUNINPORT': value => $munin_port }
shorewall::params { 'MUNINCOLLECTOR': value => $munin_collector }
shorewall::rule{'net-me-munin-tcp':
- source => "${collector_interface_source}:\$MUNINCOLLECTOR",
+ source => "${collector_source}:\$MUNINCOLLECTOR",
destination => '$FW',
proto => 'tcp',
destinationport => '$MUNINPORT',