summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/eip.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-29 22:49:14 +0100
committervarac <varacanero@zeromail.org>2012-10-29 22:49:14 +0100
commit04d324a61cb33ff282e2dc3228e25723b564ea1f (patch)
tree4de4e8c90178de1d450b7436b70af8c2e0554a33 /puppet/modules/site_shorewall/manifests/eip.pp
parent0d89ea18da5dd520bf71df42e15b813b706e2189 (diff)
differentiate masq definition names
Diffstat (limited to 'puppet/modules/site_shorewall/manifests/eip.pp')
-rw-r--r--puppet/modules/site_shorewall/manifests/eip.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp
index 5105b85a..a5af0dde 100644
--- a/puppet/modules/site_shorewall/manifests/eip.pp
+++ b/puppet/modules/site_shorewall/manifests/eip.pp
@@ -37,11 +37,11 @@ PARAM - - udp 53,80,443,1194
interface => $interface; }
- shorewall::masq { $interface:
+ shorewall::masq { "${interface}_tcp":
interface => $interface,
source => "$site_config::eip::openvpn_tcp_network_prefix.0/$site_config::eip::openvpn_tcp_cidr"; }
- shorewall::masq { $interface:
+ shorewall::masq { "${interface}_udp":
interface => $interface,
source => "$site_config::eip::openvpn_udp_network_prefix.0/$site_config::eip::openvpn_udp_cidr"; }