Handle the upgrade from ulogd to ulogd2 in jessie and later.
authorPaul Wise <pabs@debian.org>
Thu, 4 Dec 2014 07:43:27 +0000 (15:43 +0800)
committerPaul Wise <pabs@debian.org>
Thu, 4 Dec 2014 07:54:38 +0000 (15:54 +0800)
commitdd99646641ae4254be0ebde30b22b7a3e48e189e
tree0f27236aa8be4d02058601f0b8235e2b807df94e
parent61407897bd9a47068a19a41fa9550f4139dd25bd
Handle the upgrade from ulogd to ulogd2 in jessie and later.

Use augeas to handle modifying the existing ulogd2 logrotate config.

Remove instead of purge ulogd because it deletes log files on purge.

Remove the puppet installed logrotate config for ulogd.

Eliminates mails like these:

/etc/cron.daily/logrotate:
error: ulogd2:1 duplicate log entry for /var/log/ulog/syslogemu.log
modules/ferm/manifests/init.pp