diff options
author | varac <varacanero@zeromail.org> | 2012-10-29 22:49:14 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-10-29 22:49:14 +0100 |
commit | 04d324a61cb33ff282e2dc3228e25723b564ea1f (patch) | |
tree | 4de4e8c90178de1d450b7436b70af8c2e0554a33 /puppet | |
parent | 0d89ea18da5dd520bf71df42e15b813b706e2189 (diff) |
differentiate masq definition names
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_shorewall/manifests/eip.pp | 4 |
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"; } |