diff options
Diffstat (limited to 'manifests/server/share.pp')
-rw-r--r-- | manifests/server/share.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp index 330a0b0..1c3888e 100644 --- a/manifests/server/share.pp +++ b/manifests/server/share.pp @@ -1,5 +1,5 @@ define samba::server::share($ensure = present, - $description = '', + $comment = '', $path = '', $browsable = '', $create_mask = '', @@ -22,8 +22,8 @@ define samba::server::share($ensure = present, if $ensure == "present" { augeas { "${name}-comment": context => $context, - changes => $description ? { - default => "set ${target}/comment ${description}", + changes => $comment ? { + default => "set ${target}/comment '${comment}'", '' => "rm ${target}/comment", }, require => Augeas["${name}-section"], |