[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r39: Add service restarts on file changes for sobby, and ensure it's running.

Jeff Licquia licquia at linuxfoundation.org
Mon Jan 23 01:10:17 UTC 2012


------------------------------------------------------------
revno: 39
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Sun 2012-01-22 20:10:17 -0500
message:
  Add service restarts on file changes for sobby, and ensure it's running.
modified:
  modules/sobby/manifests/init.pp
-------------- next part --------------
=== modified file 'modules/sobby/manifests/init.pp'
--- a/modules/sobby/manifests/init.pp	2012-01-23 01:02:04 +0000
+++ b/modules/sobby/manifests/init.pp	2012-01-23 01:10:17 +0000
@@ -4,15 +4,17 @@
 
     file { "/etc/sobby.conf":
         source => "puppet:///modules/sobby/sobby.conf",
+        notify => Service['sobby'],
     }
 
     file { "/etc/init.d/sobby":
         source => "puppet:///modules/sobby/sobby.init",
         mode   => 0755,
+        notify => Service['sobby'],
     }
 
     service { "sobby":
-        #ensure     => running,
+        ensure     => running,
         hasrestart => false,
         hasstatus  => false,
     }



More information about the lsb-messages mailing list