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

Unified Diff: modules/filterserver/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/downloadserver/manifests/init.pp ('k') | modules/logrotate/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/filterserver/manifests/init.pp
===================================================================
--- a/modules/filterserver/manifests/init.pp
+++ b/modules/filterserver/manifests/init.pp
@@ -120,13 +120,14 @@ class filterserver {
cron {'mirror':
ensure => present,
require => [
File['/home/rsync/.ssh/known_hosts'],
File['/home/rsync/.ssh/id_rsa'],
User['rsync']
],
command => 'rsync -e ssh -ltprz rsync@ssh.adblockplus.org:. /var/www/easylist/',
+ environment => ['MAILTO=admins@adblockplus.org,root'],
user => rsync,
hour => '*',
minute => '2-52/10'
}
}
« no previous file with comments | « modules/downloadserver/manifests/init.pp ('k') | modules/logrotate/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld