summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/manifests/eip.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/puppet/modules/site_config/manifests/eip.pp b/puppet/modules/site_config/manifests/eip.pp
index 0077137b..57b6d831 100644
--- a/puppet/modules/site_config/manifests/eip.pp
+++ b/puppet/modules/site_config/manifests/eip.pp
@@ -12,16 +12,16 @@ class site_config::eip {
$openvpn_gateway_address = $openvpn_config['gateway_address']
include interfaces
- interfaces::iface { $interface:
- family => 'inet',
- method => 'static',
- options => [ "address $ip_address",
+ interfaces::iface { $interface:
+ family => 'inet',
+ method => 'static',
+ options => [ "address $ip_address",
'netmask 255.255.255.0',
- "gateway $gateway",
+ "gateway $gateway_address",
"up ip addr add $openvpn_gateway_address/24 dev eth0 label",
"down ip addr del $openvpn_gateway_address/24 dev eth0 label",
- ],
- auto => 1,
+ ],
+ auto => 1,
allow_hotplug => 1 }