Index: modules/notificationserver/manifests/init.pp |
=================================================================== |
--- a/modules/notificationserver/manifests/init.pp |
+++ b/modules/notificationserver/manifests/init.pp |
@@ -29,17 +29,17 @@ class notificationserver { |
path => ["/usr/bin/", "/bin/"], |
require => Package['mercurial'], |
onlyif => "test ! -d /opt/notifications" |
} |
cron {"update_notifications": |
ensure => present, |
command => "python -m sitescripts.management.bin.generateNotifications", |
- environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescripts'], |
+ environment => ['MAILTO=admins@adblockplus.org,root', 'PYTHONPATH=/opt/sitescripts'], |
user => nginx, |
minute => '*/10', |
require => [ |
Exec["fetch_notifications"], |
Exec["fetch_sitescripts"] |
], |
} |