aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/option.pp
diff options
context:
space:
mode:
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
+}