[Bug 793632] [NEW] puppetmaster and puppet have clashing logrotate configs

Damian Soto damian.soto at gmail.com
Mon Jun 6 16:13:38 UTC 2011


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
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/793632

Title:
  puppetmaster and puppet have clashing logrotate configs



More information about the Ubuntu-server-bugs mailing list