Skip to content

Commit 6b90ba0

Browse files
committed
fixing issues with namespecific_rclink variable
1 parent 4789c89 commit 6b90ba0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/deploy/client.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
String $server,
1313
Boolean $manage_etc = true,
1414
Boolean $manage_service = true,
15+
Boolean $namespecific_rclink = lookup('openvpn::namespecific_rclink', Boolean, 'first', false),
1516
) {
1617

1718
include openvpn::deploy::prepare
@@ -49,7 +50,7 @@
4950
require => File["${openvpn::deploy::prepare::etc_directory}/openvpn/${name}.conf"],
5051
}
5152
}
52-
elsif $openvpn::namespecific_rclink {
53+
elsif $namespecific_rclink {
5354
$service = "openvpn_${name}"
5455
file { "/usr/local/etc/rc.d/openvpn_${name}":
5556
ensure => link,

0 commit comments

Comments
 (0)