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

Unified Diff: modules/statsmaster/manifests/downloads.pp

Issue 29366977: Issue 1503 - Remove hard-coded $MAILTO variable from stats cron environment (Closed)
Patch Set: Created Dec. 7, 2016, 7:58 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/statsmaster/manifests/awstats.pp ('k') | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/statsmaster/manifests/downloads.pp
diff --git a/modules/statsmaster/manifests/downloads.pp b/modules/statsmaster/manifests/downloads.pp
index 54fdc02990ba15b2a997295e7ea438eb520f38c2..d8aba35f3aafe8b9d6e583fb13da8f453cc26b34 100644
--- a/modules/statsmaster/manifests/downloads.pp
+++ b/modules/statsmaster/manifests/downloads.pp
@@ -26,8 +26,9 @@ class statsmaster::downloads {
Class["sitescripts"]
],
command => "pypy -m sitescripts.stats.bin.logprocessor && python -m sitescripts.stats.bin.pagegenerator",
- environment => ['MAILTO=admins@adblockplus.org,root',
- 'PYTHONPATH=/opt/sitescripts'],
+ environment => concat(hiera('cron::environment', []), [
+ 'PYTHONPATH=/opt/sitescripts',
+ ]),
user => stats,
hour => 1,
minute => 30,
« no previous file with comments | « modules/statsmaster/manifests/awstats.pp ('k') | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld