summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/dnat_rule.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-11-21 17:45:44 +0100
committervarac <varacanero@zeromail.org>2012-11-21 17:45:44 +0100
commitc2d57624c15dfaff038f9991f04ade46b5ad1d40 (patch)
tree3002448bc00f1e4ea45eb97b3a4180e2623d21e0 /puppet/modules/site_shorewall/manifests/dnat_rule.pp
parenta6daa12966867acae7885f48bc2cdee4553f9099 (diff)
move site_config::eip to site_openvpn (Feature #943)
Diffstat (limited to 'puppet/modules/site_shorewall/manifests/dnat_rule.pp')
-rw-r--r--puppet/modules/site_shorewall/manifests/dnat_rule.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_shorewall/manifests/dnat_rule.pp b/puppet/modules/site_shorewall/manifests/dnat_rule.pp
index 4fc62f85..68f480d8 100644
--- a/puppet/modules/site_shorewall/manifests/dnat_rule.pp
+++ b/puppet/modules/site_shorewall/manifests/dnat_rule.pp
@@ -6,7 +6,7 @@ define site_shorewall::dnat_rule {
"dnat_tcp_port_$port":
action => 'DNAT',
source => 'net',
- destination => "\$FW:${site_config::eip::openvpn_gateway_address}:1194",
+ destination => "\$FW:${site_openvpn::openvpn_gateway_address}:1194",
proto => 'tcp',
destinationport => $port,
order => 100;
@@ -16,7 +16,7 @@ define site_shorewall::dnat_rule {
"dnat_udp_port_$port":
action => 'DNAT',
source => 'net',
- destination => "\$FW:${site_config::eip::openvpn_gateway_address}:1194",
+ destination => "\$FW:${site_openvpn::openvpn_gateway_address}:1194",
proto => 'udp',
destinationport => $port,
order => 100;