Revert "force a restart, rather than reload, of syslog-ng"
authorStephen Gran <steve@lobefin.net>
Sun, 20 Jun 2010 07:12:30 +0000 (07:12 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 20 Jun 2010 07:12:30 +0000 (07:12 +0000)
This reverts commit 9805eb7834e0280332b5f41ca01a24a9c495f670.

modules/debian-org/manifests/init.pp
templates/syslog-ng.conf.erb

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