Index: modules/downloadserver/manifests/init.pp |
=================================================================== |
--- a/modules/downloadserver/manifests/init.pp |
+++ b/modules/downloadserver/manifests/init.pp |
@@ -63,16 +63,17 @@ class downloadserver { |
mode => 0444, |
require => Nginx::Hostconfig['downloads.adblockplus.org'], |
source => 'puppet:///modules/downloadserver/logrotate' |
} |
cron {'mirror': |
ensure => present, |
command => 'hg pull -q -u -R /var/www/downloads/', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
user => hg, |
minute => '*/10' |
} |
file {'/var/www/devbuilds': |
ensure => directory, |
owner => rsync |
} |
@@ -112,13 +113,14 @@ class downloadserver { |
} |
cron {'mirror-devbuilds': |
ensure => present, |
require => [File['/home/rsync/.ssh/known_hosts'], |
File['/home/rsync/.ssh/id_rsa'], |
File['/var/www/devbuilds']], |
command => 'rsync -e ssh -ltprz devbuilds@ssh.adblockplus.org:. /var/www/devbuilds', |
+ environment => ['MAILTO=admins@adblockplus.org,root'], |
user => rsync, |
hour => '*', |
minute => '4-54/10' |
} |
} |