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, |