Public bug reported:

Binary package hint: puppet

/etc/logrotate.d/puppetmaster

cat /etc/logrotate.d/puppet      
/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
}

cat /etc/logrotate.d/puppetmaster 
/var/log/puppet/masterhttp.log {
  missingok
  notifempty
  create 0644 puppet puppet
  compress
  rotate 4
  
  postrotate
    pkill -USR2 -u puppet -f puppetmasterd || true
  endscript
}

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/793632

Title:
  puppetmaster and puppet have clashing logrotate configs

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to