diff options
author | Marc <mmontgomery@pcch.org> | 2012-08-24 12:29:41 -0400 |
---|---|---|
committer | Marc <mmontgomery@pcch.org> | 2012-08-24 12:29:41 -0400 |
commit | 1d947e24a1d2fdf060df76a3925a079fde4c0901 (patch) | |
tree | cdfd68d12faeb174f123cc2c1994ff92e76ce92c /manifests/share.pp | |
parent | e78a712e1152fd8981b87a6bb035777d0256f268 (diff) | |
download | puppet-samba-1d947e24a1d2fdf060df76a3925a079fde4c0901.tar.gz puppet-samba-1d947e24a1d2fdf060df76a3925a079fde4c0901.tar.bz2 |
changed workgroup name and added guestok, readonly, and browsable to the share configuation.
Diffstat (limited to 'manifests/share.pp')
-rw-r--r-- | manifests/share.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/share.pp b/manifests/share.pp index 7690fbc..5f05ad6 100644 --- a/manifests/share.pp +++ b/manifests/share.pp @@ -2,7 +2,6 @@ define samba::share($ensure=present, $description, $path, $browsable, - $mask, $guestok="no", $readonly="no" ) { @@ -17,7 +16,8 @@ define samba::share($ensure=present, "set ${target}/comment ${description}", "set ${target}/path ${path}", "set ${target}/browsable ${browsable}", - "set ${target}/mask ${mask}" ], + "set ${target}/guestok ${guestok}", + "set ${target}/readonly ${readonly}" ], default => ["rm ${target} ${name}"], }, require => Class["samba::server::config"] |