willi.fehler@home24.de
2014-Apr-29 16:13 UTC
[Puppet Users] Puppetmaster Logrotate isn't working
Hello,
we have an issue that the Puppetmaster logrotate isn't working.
We are using the following default Logrotate:
/var/log/puppet/*log {
missingok
sharedscripts
create 0644 puppet puppet
compress
rotate 4
postrotate
pkill -USR2 -u puppet -f 'puppet master' || true
[ -e /etc/init.d/puppet ] && /etc/init.d/puppet reload >
/dev/null 2>&1 || true
endscript
}
After running the logrotate script we have this message in syslog:
Apr 29 09:36:12 puppet1 puppet-master[3109]: Caught USR2; calling reopen_logs
Apr 29 09:36:12 puppet1 puppet-master[3109]: Reopening log files
The problem is that the logrotate does not create a new masterhttp.log. We tried
it with Puppet-3.4.2, 3.4.3 and 3.5.1.
Regards - Willi
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/88975a2c-d3c6-436e-825e-1e579d45a2b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.