From fb1899e32711bc1f669608aae1dafb23eb70ca73 Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Fri, 24 Aug 2012 14:49:59 -0400 Subject: fix create mask bug --- manifests/server/share.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/server/share.pp b/manifests/server/share.pp index 48a4723..99ecb13 100644 --- a/manifests/server/share.pp +++ b/manifests/server/share.pp @@ -66,7 +66,7 @@ define samba::server::share($ensure = present, augeas { "${name}-create_mask": context => $context, changes => $create_mask ? { - default => "set \"${target}/create mask\" yes", + default => "set \"${target}/create mask\" '${create_mask}'", '' => "rm \"${target}/create mask\"", }, require => Augeas["${name}-section"], -- cgit v1.2.3