diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 2 | ||||
-rw-r--r-- | manifests/share.pp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 172b132..48a4fef 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -1,4 +1,4 @@ -class samba::server($workgroup = PCCH) { +class samba::server($workgroup = pcch) { include samba::server::install include samba::server::config include samba::server::service 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"] |