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

Unified Diff: manifests/webserver.pp

Issue 29329120: Issue 123 - Integrate website cron::envrionment with Hiera (Closed)
Patch Set: Created Oct. 14, 2015, 4:55 p.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 | « manifests/site.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: manifests/webserver.pp
diff --git a/manifests/webserver.pp b/manifests/webserver.pp
index bafc441854421a9176d19ff711be1ee6b95e1216..3f27149a13368207c7ec57af857752bc11a9f34c 100644
--- a/manifests/webserver.pp
+++ b/manifests/webserver.pp
@@ -48,7 +48,7 @@ repository=$sitescripts_var_dir/subscriptionlist",
cron {'update_repository_subscriptionlist':
ensure => present,
- environment => ['MAILTO=admins@adblockplus.org'],
+ environment => hiera('cron::environment', []),
command => "hg pull --quiet --repository $subscriptions_repo",
user => 'sitescripts',
minute => '*/10',
« no previous file with comments | « manifests/site.pp ('k') | modules/logrotate/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld