From 4a7cf3fc220c3a3501b5d9df65011065828df98f Mon Sep 17 00:00:00 2001 From: jonoterc Date: Fri, 1 Nov 2013 03:05:15 -0400 Subject: correcting syntax used to apply "valid users" share configuration --- manifests/server/share.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/server') diff --git a/manifests/server/share.pp b/manifests/server/share.pp index 4925247..2c73f7b 100644 --- a/manifests/server/share.pp +++ b/manifests/server/share.pp @@ -126,8 +126,8 @@ define samba::server::share($ensure = present, augeas { "${name}-valid_users": context => $context, changes => $valid_users ? { - default => "set ${target}/valid users '${valid_users}'", - '' => "rm ${target}/valid users", + default => "set \"${target}/valid users\" '${valid_users}'", + '' => "rm \"${target}/valid users\"", }, require => Augeas["${name}-section"], notify => Class['samba::server::service'] -- cgit v1.2.3