Index: modules/filterserver/manifests/init.pp |
=================================================================== |
--- a/modules/filterserver/manifests/init.pp |
+++ b/modules/filterserver/manifests/init.pp |
@@ -166,18 +166,19 @@ class filterserver { |
user => rsync, |
hour => '*', |
minute => '2-52/10' |
} |
cron {'mirrorstats': |
ensure => present, |
require => [ |
- User['rsync'], |
- Package['python-geoip'] |
+ User['rsync'], |
+ Package['python-geoip'], |
+ Exec["fetch_sitescripts"] |
], |
command => 'gzip -cd /var/log/nginx/access_log_easylist_downloads.1.gz | python -m sitescripts.logs.bin.extractSubscriptionStats', |
environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescripts'], |
user => rsync, |
hour => 1, |
minute => 25 |
} |