aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server.pp2
-rw-r--r--manifests/share.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 6addab8..1f1702c 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -1,4 +1,4 @@
-class samba::server($workgroup = '') {
+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 30ba0b2..cebd4fa 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" ) {
@@ -16,7 +15,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"]