diff options
author | James Turnbull <james@lovedthanlost.net> | 2008-07-10 19:52:26 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2008-07-10 19:52:26 +1000 |
commit | 605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52 (patch) | |
tree | bfab41f07b972f61585ef2fcf454ad9fdef6c832 /conf/debian/puppet.logrotate | |
parent | d25c2b282cc4cd703bba3d2457f93431098ddc85 (diff) | |
download | puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.gz puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.tar.xz puppet-605d760dd72b7b6bd3fd54e9f6c3ffacb1b9ee52.zip |
Moved debian to conf and updated examples directory
Diffstat (limited to 'conf/debian/puppet.logrotate')
-rw-r--r-- | conf/debian/puppet.logrotate | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/debian/puppet.logrotate b/conf/debian/puppet.logrotate new file mode 100644 index 000000000..3864e396d --- /dev/null +++ b/conf/debian/puppet.logrotate @@ -0,0 +1,11 @@ +/var/log/puppet/*log { + missingok + create 0644 puppet puppet + compress + rotate 4 + + postrotate + [ -e /etc/init.d/puppetmaster ] && /etc/init.d/puppetmaster restart >/dev/null 2>&1 || true + [ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload > /dev/null 2>&1 || true + endscript +} |