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

Unified Diff: modules/filtermaster/manifests/init.pp

Issue 29329128: Issue 123 - Integrate filtermaster cron::envrionment with Hiera (Closed)
Patch Set: Created Oct. 14, 2015, 5:16 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/filtermaster/manifests/init.pp
diff --git a/modules/filtermaster/manifests/init.pp b/modules/filtermaster/manifests/init.pp
index 17bb8dd04f36e0b787c55be43c38714b53c70da1..0d5aac9c327b8cd8ad8606709c82a9ccd90e037d 100755
--- a/modules/filtermaster/manifests/init.pp
+++ b/modules/filtermaster/manifests/init.pp
@@ -4,7 +4,9 @@ class filtermaster(
) {
Cron {
- environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescripts'],
+ environment => concat(hiera('cron::environment', []), [
+ 'PYTHONPATH=/opt/sitescripts',
+ ]),
}
include ssh
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld