From 2e489146cecbe9fdb5f84fb433c0e8b85c9a706c Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 20 Oct 2011 11:07:38 -0400 Subject: the weekly rotation for the dovecot logs results in log files that are too large for munin to parse fast enough to produce results before timeouts, so switching the rotation to be daily --- manifests/logrotate.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/logrotate.pp b/manifests/logrotate.pp index 6900d79..4862824 100644 --- a/manifests/logrotate.pp +++ b/manifests/logrotate.pp @@ -5,7 +5,7 @@ class dovecot::logrotate { augeas { "logrotate_dovecot": context => "/files/etc/logrotate.d/dovecot/rule", - changes => [ 'set file /var/log/dovecot/*.log', 'set rotate 3', 'set schedule weekly', + changes => [ 'set file /var/log/dovecot/*.log', 'set rotate 3', 'set schedule daily', 'set compress compress', 'set sharedscripts sharedscripts', 'set create/mode 0660', 'set create/owner root', 'set create/group dovecot', 'set postrotate "/bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null || true"' ], -- cgit v1.2.3