aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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':