From 04d58f4e21e3f877b279f4a615c6059b13d277ce Mon Sep 17 00:00:00 2001 From: jonoterc Date: Fri, 1 Nov 2013 02:55:57 -0400 Subject: correcting variable tested for presence of valid_users input --- manifests/server/share.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests/server') diff --git a/manifests/server/share.pp b/manifests/server/share.pp index d9eb331..4925247 100644 --- a/manifests/server/share.pp +++ b/manifests/server/share.pp @@ -125,7 +125,7 @@ define samba::server::share($ensure = present, augeas { "${name}-valid_users": context => $context, - changes => $printable ? { + changes => $valid_users ? { default => "set ${target}/valid users '${valid_users}'", '' => "rm ${target}/valid users", }, -- cgit v1.2.3