From 70e91671959c012d08e45f195c9feacbe7d39f5f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 18 May 2009 08:57:28 +0200 Subject: [PATCH] And push out syslog-ng.conf and logrotate.d/syslog-ng --- modules/debian-org/manifests/init.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 4a978941b..de1b4a6a6 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -54,6 +54,14 @@ class debian-org { "/etc/default/puppet": source => "puppet:///files/etc/default/puppet", notify => Exec["puppet restart"]; + + "/etc/syslog-ng/syslog-ng.conf": + source => "puppet:///files/etc/syslog-ng/syslog-ng.conf", + notify => Exec["syslog-ng reload"], + ; + "/etc/logrotate.d/syslog-ng": + source => "puppet:///files/etc/logrotate.d/syslog-ng", + ; } case $hostname { handel: { @@ -80,6 +88,10 @@ class debian-org { path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, } + exec { "syslog-ng reload": + path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", + refreshonly => true, + } exec { "dpkg-reconfigure tzdata -pcritical -fnoninteractive": path => "/usr/bin:/usr/sbin:/bin:/sbin", refreshonly => true, -- 2.20.1