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