summaryrefslogtreecommitdiff
path: root/manifests/option.pp
diff options
context:
space:
mode:
authorRaffael Schmid <raffael@yux.ch>2012-12-29 07:11:51 -0800
committerRaffael Schmid <raffael@yux.ch>2012-12-29 07:11:51 -0800
commit1052248662a3e2f54d21bfd529060e6ffb3594ac (patch)
tree6fcbc06272a58e85bd4a607247211c169afcfa30 /manifests/option.pp
parent25f1fe8d813f6128068d890a40f5e24be78fb47c (diff)
parent5754d3c5a10afbc7e3242299088bb3e1978cf7c7 (diff)
Merge pull request #4 from jlambert121/openvpn2.2.2
puppet-lint fixes and Openvpn2.2.2
Diffstat (limited to 'manifests/option.pp')
-rw-r--r--manifests/option.pp6
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 {