Index: modules/logrotate/manifests/init.pp |
=================================================================== |
--- a/modules/logrotate/manifests/init.pp |
+++ b/modules/logrotate/manifests/init.pp |
@@ -4,13 +4,14 @@ class logrotate { |
path => ["/usr/bin/", "/bin/"], |
onlyif => 'test ! -f /var/lib/logrotate/status' |
} |
cron {'logrotate': |
ensure => present, |
require => Exec['ensure_logrotate_status'], |
command => '/usr/sbin/logrotate /etc/logrotate.conf', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
user => root, |
hour => '0', |
minute => '0' |
} |
} |