aboutsummaryrefslogtreecommitdiff
path: root/manifests/server.pp
diff options
context:
space:
mode:
authorAdam Jahn <ajjahn@gmail.com>2012-08-24 15:41:06 -0400
committerAdam Jahn <ajjahn@gmail.com>2012-08-24 15:41:06 -0400
commit2287962321ecf52c0b0cc42cc145c1dff0e5bdb1 (patch)
tree4621ea4405ce4629fd0f8c2e1a92372087f3e7c9 /manifests/server.pp
parentb1382f146bee512abdbb75ac2b558a9362019b7e (diff)
downloadpuppet-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.pp4
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':