summaryrefslogtreecommitdiff
path: root/puppet/modules/site_openvpn
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-01-27 20:24:29 -0500
committerMicah Anderson <micah@riseup.net>2013-01-29 13:29:10 -0500
commitbdf7beb1594b480bd438625b33f27403d2ab5959 (patch)
treef8cae9e76d32a2fd79da33c97a188b3998ae4525 /puppet/modules/site_openvpn
parent6ebc2b495d9ea920770823cd08ae4eb881b684f7 (diff)
enclose the variables in curly braces, as recommended by puppet-lint
Diffstat (limited to 'puppet/modules/site_openvpn')
-rw-r--r--puppet/modules/site_openvpn/manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/puppet/modules/site_openvpn/manifests/init.pp b/puppet/modules/site_openvpn/manifests/init.pp
index a9fa8b2b..4e13bb5d 100644
--- a/puppet/modules/site_openvpn/manifests/init.pp
+++ b/puppet/modules/site_openvpn/manifests/init.pp
@@ -21,15 +21,15 @@ class site_openvpn {
port => '1194',
proto => 'tcp',
local => $openvpn_gateway_address,
- server => "$openvpn_tcp_network_prefix.0 $openvpn_tcp_netmask",
- push => "\"dhcp-option DNS $openvpn_tcp_network_prefix.1\"",
+ server => "${openvpn_tcp_network_prefix.0} ${openvpn_tcp_netmask}",
+ push => "\"dhcp-option DNS ${openvpn_tcp_network_prefix}.1\"",
management => '127.0.0.1 1000'
}
site_openvpn::server_config { 'udp_config':
port => '1194',
proto => 'udp',
- server => "$openvpn_udp_network_prefix.0 $openvpn_udp_netmask",
- push => "\"dhcp-option DNS $openvpn_udp_network_prefix.1\"",
+ server => "${openvpn_udp_network_prefix.0} ${openvpn_udp_netmask}",
+ push => "\"dhcp-option DNS ${openvpn_udp_network_prefix}.1\"",
local => $openvpn_gateway_address,
management => '127.0.0.1 1001'
}