From: Adam Jahn Date: Fri, 24 Aug 2012 19:41:06 +0000 (-0400) Subject: changing global configs shoult notify service X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2287962321ecf52c0b0cc42cc145c1dff0e5bdb1;p=puppet-samba.git changing global configs shoult notify service --- diff --git a/manifests/server.pp b/manifests/server.pp index 7f5e679..2593a55 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -10,7 +10,8 @@ class samba::server($workgroup = '', augeas { 'global-section': context => $context, changes => "set ${target} global", - require => Class["samba::server::config"] + require => Class["samba::server::config"], + notify => Class['samba::server::service'] } augeas { 'global-workgroup': @@ -20,6 +21,7 @@ class samba::server($workgroup = '', '' => "rm ${target}/workgroup", }, require => Augeas['global-section'], + notify => Class['samba::server::service'] } augeas { 'global-server_string':