summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-26 15:08:15 +0200
committervarac <varacanero@zeromail.org>2012-10-26 15:08:15 +0200
commit92368db363406ebf47419814e1ac1bfc9f17c44a (patch)
tree638bec9bacb181fac348ff051cd84b94e998c331 /puppet/modules/site_config
parent8128fd27d9d3637654ebf924c860a701a4a08911 (diff)
linted, variable updated
Diffstat (limited to 'puppet/modules/site_config')
-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 }