From: Peter Palfrader Date: Wed, 20 Feb 2013 15:38:15 +0000 (+0100) Subject: Do not keep a year full of samhain logs, only 2 weeks. And use dateext X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=00c0577187b49e2e633eedc9828ed2a009bcce57;p=mirror%2Fdsa-puppet.git Do not keep a year full of samhain logs, only 2 weeks. And use dateext --- diff --git a/modules/samhain/templates/logrotate.d-samhain b/modules/samhain/templates/logrotate.d-samhain index 025611e3f..fd33d1351 100644 --- a/modules/samhain/templates/logrotate.d-samhain +++ b/modules/samhain/templates/logrotate.d-samhain @@ -1,7 +1,13 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + /var/log/samhain/*.log { - weekly + daily missingok - rotate 52 + rotate 14 + dateext compress delaycompress notifempty