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

Unified Diff: modules/web/manifests/server.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 | « modules/sitescripts/manifests/init.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/manifests/server.pp
diff --git a/modules/web/manifests/server.pp b/modules/web/manifests/server.pp
index 7fd3d2dbbb8d76a93f2daee429ada5d15b6522e8..e8cd23310ce9e8ffc96ffffd1cf151b135516e9a 100644
--- a/modules/web/manifests/server.pp
+++ b/modules/web/manifests/server.pp
@@ -22,7 +22,9 @@ class web::server(
}
Cron {
- environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/cms:/opt/sitescripts'],
+ environment => concat(hiera('cron::environment', []), [
+ 'PYTHONPATH=/opt/cms:/opt/sitescripts',
+ ]),
}
class {'nginx':
« no previous file with comments | « modules/sitescripts/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld