aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/option.pp
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2014-08-14 10:43:31 -0400
committerAdam Jahn <ajjahn@gmail.com>2014-08-14 10:43:31 -0400
commit949880cd9acd5d742ebd3bf361aef896e8d84477 (patch)
treeddc2ebc51efee110e6de8c50ab578ebc4de20103 /manifests/server/option.pp
parent4a6081761c574525ef6aadd213a95621d077081e (diff)
parent1790f0f59f824638f5baf77c1c899c7084ebe861 (diff)
downloadpuppet-samba-949880cd9acd5d742ebd3bf361aef896e8d84477.tar.gz
puppet-samba-949880cd9acd5d742ebd3bf361aef896e8d84477.tar.bz2
Merge pull request #29 from honzik666/future-parser-fixes
Future parser fixes
Diffstat (limited to 'manifests/server/option.pp')
-rw-r--r--manifests/server/option.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/server/option.pp b/manifests/server/option.pp
index 36968fc..699985d 100644
--- a/manifests/server/option.pp
+++ b/manifests/server/option.pp
@@ -4,8 +4,8 @@ define samba::server::option ( $value = '' ) {
$target = $samba::server::target
$changes = $value ? {
- default => "set \"${target}/$name\" \"$value\"",
'' => "rm ${target}/$name",
+ default => "set \"${target}/$name\" \"$value\"",
}
augeas { "samba-$name":
@@ -16,4 +16,4 @@ define samba::server::option ( $value = '' ) {
require => Augeas['global-section'],
notify => Class['Samba::Server::Service']
}
-} \ No newline at end of file
+}