From 4a6e4fb559d2c9c7bbda33c0afb6af5a2172e745 Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Sun, 10 Jul 2016 14:53:14 -0400 Subject: keep default in a consistent order in conditionals --- manifests/server/share.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}'", }, ] -- cgit v1.2.3