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

Unified Diff: modules/logrotate/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/filterserver/manifests/init.pp ('k') | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/logrotate/manifests/init.pp
===================================================================
--- a/modules/logrotate/manifests/init.pp
+++ b/modules/logrotate/manifests/init.pp
@@ -4,13 +4,14 @@ class logrotate {
path => ["/usr/bin/", "/bin/"],
onlyif => 'test ! -f /var/lib/logrotate/status'
}
cron {'logrotate':
ensure => present,
require => Exec['ensure_logrotate_status'],
command => '/usr/sbin/logrotate /etc/logrotate.conf',
+ environment => ['MAILTO=admins@adblockplus.org,root'],
user => root,
hour => '0',
minute => '0'
}
}
« no previous file with comments | « modules/filterserver/manifests/init.pp ('k') | modules/notificationserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld