aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/server/share.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/server/share.pp b/manifests/server/share.pp
index bbdc0a6..bb70753 100644
--- a/manifests/server/share.pp
+++ b/manifests/server/share.pp
@@ -225,8 +225,8 @@ define samba::server::share($ensure = present,
default => "rm \"${target}/delete readonly\"",
},
$printer_name ? {
- default => "set \"${target}/printer name\" '${printer_name}'",
'' => "rm \"${target}/printer name\"",
+ default => "set \"${target}/printer name\" '${printer_name}'",
},
]