aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/firewall/vserver.pp')
-rw-r--r--manifests/subsystems/firewall/vserver.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/subsystems/firewall/vserver.pp b/manifests/subsystems/firewall/vserver.pp
index 8b01d12..843d24f 100644
--- a/manifests/subsystems/firewall/vserver.pp
+++ b/manifests/subsystems/firewall/vserver.pp
@@ -249,7 +249,7 @@ define firewall::vserver::ssh($destination, $port_orig = '22', $port_dest = '',
}
}
-define firewall::vserver::munin($destination, $port_orig, $port_dest = '') {
+define firewall::vserver::munin($destination, $port_orig, $port_dest = '', $order = '400') {
shorewall::rule { "munin-$name-1":
action => 'DNAT',
source => 'net',
@@ -260,6 +260,7 @@ define firewall::vserver::munin($destination, $port_orig, $port_dest = '') {
proto => 'tcp',
destinationport => "$port_orig",
ratelimit => '-',
+ order => $order,
}
shorewall::rule { "munin-$name-2":
@@ -273,5 +274,6 @@ define firewall::vserver::munin($destination, $port_orig, $port_dest = '') {
destinationport => "$port_orig",
originaldest => "$ipaddress",
ratelimit => '-',
+ order => $order,
}
}