force a restart, rather than reload, of syslog-ng
authorStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 22:45:47 +0000 (22:45 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 19 Jun 2010 22:45:47 +0000 (22:45 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/manifests/init.pp
templates/syslog-ng.conf.erb

index 5edef0d..032c8be 100644 (file)
@@ -83,7 +83,7 @@ class debian-org {
         "/etc/syslog-ng/syslog-ng.conf":
             content => template("syslog-ng.conf.erb"),
             require => Package["syslog-ng"],
-            notify  => Exec["syslog-ng reload"],
+            notify  => Exec["syslog-ng restart"],
             ;
         "/etc/logrotate.d/syslog-ng":
             require => Package["syslog-ng"],
@@ -128,7 +128,7 @@ class debian-org {
     }
    
     exec {
-        "syslog-ng reload":
+        "syslog-ng restart":
             path        => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
             refreshonly => true;
         "dpkg-reconfigure tzdata -pcritical -fnoninteractive":
index f21ccc5..4e5c26f 100644 (file)
@@ -455,3 +455,5 @@ log {
        destination(loghost-paganini);
 };
 <%end%>
+
+