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

Unified Diff: modules/sitescripts/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/notificationserver/manifests/init.pp ('k') | modules/statsclient/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/sitescripts/manifests/init.pp
===================================================================
--- a/modules/sitescripts/manifests/init.pp
+++ b/modules/sitescripts/manifests/init.pp
@@ -23,12 +23,13 @@ class sitescripts (
path => ["/usr/bin/", "/bin/"],
require => Package['mercurial'],
onlyif => "test ! -d /opt/sitescripts"
}
cron {"update_sitescripts":
ensure => present,
command => "hg pull -q -u -R /opt/sitescripts",
+ environment => ['MAILTO=admins@adblockplus.org,root'],
user => root,
require => Exec["fetch_sitescripts"],
}
}
« no previous file with comments | « modules/notificationserver/manifests/init.pp ('k') | modules/statsclient/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld