aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/firewall/router.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-11 18:17:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-11 18:17:45 -0300
commit8084ddc710cf0792294b2ec92d7452608b67b05e (patch)
tree398ceb7e04328b8ae5921c8469d2426c98ad74f1 /manifests/subsystems/firewall/router.pp
parent675748b6984599298155c284fad4a8ec8a280a65 (diff)
downloadpuppet-nodo-8084ddc710cf0792294b2ec92d7452608b67b05e.tar.gz
puppet-nodo-8084ddc710cf0792294b2ec92d7452608b67b05e.tar.bz2
Fixing firewall::router::hairpinning definition
Diffstat (limited to 'manifests/subsystems/firewall/router.pp')
-rw-r--r--manifests/subsystems/firewall/router.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystems/firewall/router.pp b/manifests/subsystems/firewall/router.pp
index 9092fbb..2780098 100644
--- a/manifests/subsystems/firewall/router.pp
+++ b/manifests/subsystems/firewall/router.pp
@@ -164,7 +164,7 @@ class firewall::router::torrent($destination, $zone = 'loc') {
}
# See http://www.shorewall.net/FAQ.htm#faq2
-class firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'www',
+define firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'www',
$external_ip = '$ETH0_IP', $interface = 'eth1',
$destination = '192.168.1.100') {
shorewall::masq { "routeback-$name":