aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/router.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-15 22:59:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-15 22:59:22 -0300
commitef568946ba793b93b0f60810b04227f3c7542947 (patch)
tree31270a6afafe0391d24a11fff294575c57a51cb9 /manifests/subsystems/firewall/router.pp
parent0d9fc5dfd7a4263fa6d346c42ac41bff26666783 (diff)
downloadpuppet-nodo-ef568946ba793b93b0f60810b04227f3c7542947.tar.gz
puppet-nodo-ef568946ba793b93b0f60810b04227f3c7542947.tar.bz2
Fixing firewall::router::ssh
Diffstat (limited to 'manifests/subsystems/firewall/router.pp')
-rw-r--r--manifests/subsystems/firewall/router.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp
index a349050..e5563a0 100644
--- a/manifests/subsystems/firewall/router.pp
+++ b/manifests/subsystems/firewall/router.pp
@@ -239,8 +239,8 @@ define firewall::router::ssh($destination, $port_orig = '22', $port_dest = '', $
action => 'DNAT',
source => '$FW',
destination => $port_dest ? {
- '' => "fw:$destination",
- default => "fw:$destination:$port_dest",
+ '' => "$zone:$destination",
+ default => "$zone:$destination:$port_dest",
},
proto => 'tcp',
destinationport => "$port_orig",