Index: modules/statsclient/manifests/init.pp |
=================================================================== |
--- a/modules/statsclient/manifests/init.pp |
+++ b/modules/statsclient/manifests/init.pp |
@@ -56,24 +56,25 @@ class statsclient ( |
cron {'mirrorstats': |
ensure => present, |
require => [ |
User['stats'], |
Package['pypy'], |
Exec["fetch_sitescripts"] |
], |
command => "gzip -cd ${log_path} | pypy -m sitescripts.stats.bin.logprocessor", |
- environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescripts'], |
+ environment => ['MAILTO=admins@adblockplus.org,root', 'PYTHONPATH=/opt/sitescripts'], |
user => stats, |
hour => 0, |
minute => 25, |
} |
cron {'geoipdb_update': |
ensure => present, |
require => File['/opt/cron_geoipdb_update.sh'], |
command => '/opt/cron_geoipdb_update.sh', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
user => root, |
hour => 3, |
minute => 15, |
monthday => 3, |
} |
} |