logrotate and puppetserver debian package

50 views
Skip to first unread message

Daniel Urist

unread,
Sep 13, 2016, 4:38:40 PM9/13/16
to puppet-users
The release notes for puppetserver state the following (https://docs.puppet.com/puppetserver/latest/release_notes.html):

Debian upgrade note: On Debian-based Linux distributions, logrotate will continue to attempt to manage your Puppet Server log files until /etc/logrotate.d/puppetserver is removed. These logrotate attempts are harmless, but will generate a duplicate archive of logs. As a best practice, delete puppetserver from logrotate.d after upgrading to Puppet Server 2.6.

However, the latest debian jessie package for puppetserver (version 2.6.0-1puppetlabs1) still contains the file /etc/logrotate.d/puppetserver.

Is this just an oversight (bug!) in the package, or is logrotate still needed for Debian?

Joe Pinsonault

unread,
Sep 13, 2016, 5:05:29 PM9/13/16
to Puppet Users
Are you performing an ugprade or a fresh install? puppetserver's logrotate file isn't needed in puppet server 2.6.0+, so you can safely remove it either way, but it should not be there if you're doing a fresh install. /etc/logrotate.d/puppetserver will still be there on debian if you're upgrading from a previous version though.

I just tested 2.6.0 on jessie and it didn't lay down a logrotate file for me on a fresh install

dur...@ucar.edu

unread,
Sep 15, 2016, 11:19:37 AM9/15/16
to Puppet Users
Huh, looks like you're right-- the latest deb (puppetserver_2.6.0-1puppetlabs1_all.deb) doesn't contain the file, but dpkg -L still shows it as part of the package. Maybe this is a bug in dpkg?

Thanks for testing that.
Reply all
Reply to author
Forward
0 new messages