Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/notificationserver/manifests/init.pp

Issue 11548101: Send all cron mail both to admins and the local root user (Closed)
Patch Set: Created Sept. 2, 2013, 9:21 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/logrotate/manifests/init.pp ('k') | modules/sitescripts/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"]
],
}
« no previous file with comments | « modules/logrotate/manifests/init.pp ('k') | modules/sitescripts/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld