summaryrefslogtreecommitdiffstats
path: root/conf/redhat/logrotate
blob: c3a4d437a693a804562d018c29f7b05cc0b40bb0 (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/puppet/*log {
  missingok
  notifempty
  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
  endscript
}