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

Unified Diff: modules/logrotate/manifests/init.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/webserver.pp ('k') | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/logrotate/manifests/init.pp
diff --git a/modules/logrotate/manifests/init.pp b/modules/logrotate/manifests/init.pp
index a65fd6e97da346bc92eec00f22b0ddde0366b21e..3514e7ae61583aae8c81c7270e477d856ff4f0a3 100644
--- a/modules/logrotate/manifests/init.pp
+++ b/modules/logrotate/manifests/init.pp
@@ -9,7 +9,7 @@ class logrotate {
ensure => present,
require => Exec['ensure_logrotate_status'],
command => '/usr/sbin/logrotate /etc/logrotate.conf',
- environment => ['MAILTO=admins@adblockplus.org,root'],
+ environment => hiera('cron::environment', []),
user => root,
hour => '0',
minute => '0'
« no previous file with comments | « manifests/webserver.pp ('k') | modules/private-stub/hiera/base.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld