Skip to content

Commit 0ca373f

Browse files
authored
Merge pull request #450 from voxpupuli/remove-legacy-top-scope-syntax
Remove legacy top-scope syntax
2 parents dc9f3c6 + c46d736 commit 0ca373f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

manifests/server.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
}
371371

372372
$ca_common_name = $common_name
373-
::openvpn::ca { $name:
373+
openvpn::ca { $name:
374374
dn_mode => $dn_mode,
375375
country => $country,
376376
province => $province,

templates/etc-default-openvpn.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#STATUSREFRESH=0
1818
# Optional arguments to openvpn's command line
1919
OPTARGS=""
20-
<% if scope.lookupvar('::openvpn::autostart_all') -%>
20+
<% if scope.lookupvar('openvpn::autostart_all') -%>
2121
AUTOSTART="all"
2222
<% else -%>
2323
AUTOSTART=""

templates/server.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ client-disconnect "<% unless @client_disconnect =~ /^\// %><%= @_script_dir %>/<
173173
username-as-common-name
174174
<% end -%>
175175
<% if @ldap_enabled == true -%>
176-
plugin <%= scope.lookupvar('::openvpn::ldap_auth_plugin_location') %> "<%= @server_directory %>/<%= @name %>/auth/ldap.conf"
176+
plugin <%= scope.lookupvar('openvpn::ldap_auth_plugin_location') %> "<%= @server_directory %>/<%= @name %>/auth/ldap.conf"
177177
<% end -%>
178178
<% if @client_cert_not_required -%>
179179
client-cert-not-required

0 commit comments

Comments
 (0)