diff options
author | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 15:41:06 -0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2012-08-24 15:41:06 -0400 |
commit | 2287962321ecf52c0b0cc42cc145c1dff0e5bdb1 (patch) | |
tree | 4621ea4405ce4629fd0f8c2e1a92372087f3e7c9 /manifests/server.pp | |
parent | b1382f146bee512abdbb75ac2b558a9362019b7e (diff) | |
download | puppet-samba-2287962321ecf52c0b0cc42cc145c1dff0e5bdb1.tar.gz puppet-samba-2287962321ecf52c0b0cc42cc145c1dff0e5bdb1.tar.bz2 |
changing global configs shoult notify service
Diffstat (limited to 'manifests/server.pp')
-rw-r--r-- | manifests/server.pp | 4 |
1 files changed, 3 insertions, 1 deletions
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': |