diff options
Diffstat (limited to 'manifests/option.pp')
-rw-r--r-- | manifests/option.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/option.pp b/manifests/option.pp index 5cadb31..eb3d5a7 100644 --- a/manifests/option.pp +++ b/manifests/option.pp @@ -1,12 +1,12 @@ # option.pp -define openvpn::option($key, $value = "", $server, $client = "", $csc = false) { +define openvpn::option($key, $server, $value = '', $client = '', $csc = false) { $content = $value ? { - "" => "${key}", + '' => $key, default => "${key} ${value}" } - if $client == "" { + if $client == '' { $path = "/etc/openvpn/${server}.conf" } else { if $csc { |