Index: modules/sitescripts/manifests/init.pp |
=================================================================== |
--- a/modules/sitescripts/manifests/init.pp |
+++ b/modules/sitescripts/manifests/init.pp |
@@ -23,12 +23,13 @@ class sitescripts ( |
path => ["/usr/bin/", "/bin/"], |
require => Package['mercurial'], |
onlyif => "test ! -d /opt/sitescripts" |
} |
cron {"update_sitescripts": |
ensure => present, |
command => "hg pull -q -u -R /opt/sitescripts", |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
user => root, |
require => Exec["fetch_sitescripts"], |
} |
} |