s/restart/stop/ for monit init script
authorStephen Gran <steve@lobefin.net>
Sat, 24 Apr 2010 15:51:04 +0000 (16:51 +0100)
committerStephen Gran <steve@lobefin.net>
Sat, 24 Apr 2010 15:51:04 +0000 (16:51 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/monit/manifests/init.pp

index cad4319..efa8689 100644 (file)
@@ -13,7 +13,7 @@ class monit {
         "/etc/monit/monitrc":
           content => template("monit/monitrc.erb"),
           require => Package["monit"],
-          notify  => Exec["monit restart"],
+          notify  => Exec["monit stop"],
           mode    => 400
           ;
 
@@ -28,24 +28,24 @@ class monit {
         "/etc/monit/monit.d/01puppet":
           source  => "puppet:///monit/puppet",
           require => Package["monit"],
-          notify  => Exec["monit restart"],
+          notify  => Exec["monit stop"],
           mode    => 440
           ;
 
         "/etc/monit/monit.d/00debian.org":
           source  => "puppet:///monit/debianorg",
           require => Package["monit"],
-          notify  => Exec["monit restart"],
+          notify  => Exec["monit stop"],
           mode    => 440
           ;
 
         "/etc/default/monit":
           content => template("monit/default.erb"),
           require => Package["monit"],
-          notify  => Exec["monit restart"]
+          notify  => Exec["monit stop"]
           ;
     }
-    exec { "monit restart":
+    exec { "monit stop":
         path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
         refreshonly => true,
     }