aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2016-07-10 14:53:14 -0400
committerAdam Jahn <ajjahn@gmail.com>2016-07-10 14:53:14 -0400
commit4a6e4fb559d2c9c7bbda33c0afb6af5a2172e745 (patch)
tree5746670cb39c46bc6155659e855293c145ddede1
parentfcf3f6af854d20e701a74c3e9d4d5f7af20e8c71 (diff)
downloadpuppet-samba-4a6e4fb559d2c9c7bbda33c0afb6af5a2172e745.tar.gz
puppet-samba-4a6e4fb559d2c9c7bbda33c0afb6af5a2172e745.tar.bz2
keep default in a consistent order in conditionals
-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}'",
},
]