From 1790f0f59f824638f5baf77c1c899c7084ebe861 Mon Sep 17 00:00:00 2001 From: Jan Čapek Date: Thu, 14 Aug 2014 11:11:02 +0200 Subject: default statements ordering fixed for future parser - the default statements have to be always last otherwise they would get always picked by the future parser --- manifests/server/option.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/server/option.pp') diff --git a/manifests/server/option.pp b/manifests/server/option.pp index 36968fc..699985d 100644 --- a/manifests/server/option.pp +++ b/manifests/server/option.pp @@ -4,8 +4,8 @@ define samba::server::option ( $value = '' ) { $target = $samba::server::target $changes = $value ? { - default => "set \"${target}/$name\" \"$value\"", '' => "rm ${target}/$name", + default => "set \"${target}/$name\" \"$value\"", } augeas { "samba-$name": @@ -16,4 +16,4 @@ define samba::server::option ( $value = '' ) { require => Augeas['global-section'], notify => Class['Samba::Server::Service'] } -} \ No newline at end of file +} -- cgit v1.2.3