summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-04-26 20:16:28 +1000
committerJames Turnbull <james@lovedthanlost.net>2009-04-26 20:16:28 +1000
commitdc0a9978df57b0ca730f9d90a132772474d34a5a (patch)
treee3d7266e0bea6e107651f8cae9c516fcbe33e17c
parent4d3b54e8c96df5da0d8618c1965f7fc7fa5cee8e (diff)
downloadpuppet-dc0a9978df57b0ca730f9d90a132772474d34a5a.tar.gz
puppet-dc0a9978df57b0ca730f9d90a132772474d34a5a.tar.xz
puppet-dc0a9978df57b0ca730f9d90a132772474d34a5a.zip
Fixes #2196 - Add sharedscripts directive to logrotate
-rw-r--r--conf/redhat/logrotate1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/redhat/logrotate b/conf/redhat/logrotate
index e336d60f5..554d6d16b 100644
--- a/conf/redhat/logrotate
+++ b/conf/redhat/logrotate
@@ -1,6 +1,7 @@
/var/log/puppet/*log {
missingok
create 0644 puppet puppet
+ sharedscripts
postrotate
[ -e /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster condrestart >/dev/null 2>&1 || true
[ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true