From 2287962321ecf52c0b0cc42cc145c1dff0e5bdb1 Mon Sep 17 00:00:00 2001 From: Adam Jahn Date: Fri, 24 Aug 2012 15:41:06 -0400 Subject: changing global configs shoult notify service --- manifests/server.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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': -- cgit v1.2.3