]> gitweb.fluxo.info Git - puppet-samba.git/commitdiff
changing global configs shoult notify service
authorAdam Jahn <ajjahn@gmail.com>
Fri, 24 Aug 2012 19:41:06 +0000 (15:41 -0400)
committerAdam Jahn <ajjahn@gmail.com>
Fri, 24 Aug 2012 19:41:06 +0000 (15:41 -0400)
manifests/server.pp

index 7f5e6795ba41ed60c74f6d18b2dedd049a50d5d0..2593a556160612c37fefffb97243ca3ba0cdb3ae 100644 (file)
@@ -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':