summaryrefslogtreecommitdiff
path: root/puppet/modules/site_openvpn
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-29 11:54:53 -0500
committerMicah Anderson <micah@riseup.net>2013-01-29 13:29:10 -0500
commit0e1f5ab91e7a613da7ec15495f05386a98626b08 (patch)
tree68ea0ff992c550f35949e36bb034781f2dd1947f /puppet/modules/site_openvpn
parentd6b334a20dcf495ea0b9cb7247c0e20d478dbbba (diff)
fix variable scoping
Diffstat (limited to 'puppet/modules/site_openvpn')
-rw-r--r--puppet/modules/site_openvpn/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_openvpn/manifests/init.pp b/puppet/modules/site_openvpn/manifests/init.pp
index b4c573e7..d777aa81 100644
--- a/puppet/modules/site_openvpn/manifests/init.pp
+++ b/puppet/modules/site_openvpn/manifests/init.pp
@@ -1,7 +1,7 @@
class site_openvpn {
# parse hiera config
$ip_address = hiera('ip_address')
- $interface = getvar("$::{ip_address}_interface")
+ $interface = getvar("${ip_address}_interface")
#$gateway_address = hiera('gateway_address')
$openvpn_config = hiera('openvpn')
$openvpn_gateway_address = $openvpn_config['gateway_address']