Index: modules/statsmaster/manifests/init.pp |
=================================================================== |
--- a/modules/statsmaster/manifests/init.pp |
+++ b/modules/statsmaster/manifests/init.pp |
@@ -61,25 +61,29 @@ class statsmaster( |
source => 'puppet:///modules/statsmaster/site.conf', |
is_default => $is_default, |
certificate => $certificate, |
private_key => $private_key, |
log => 'access_log_stats' |
} |
file {'/opt/cron_geoipdb_update.sh': |
+ ensure => absent, |
+ } |
+ |
+ file {'/opt/cron_geoipdb_update.py': |
ensure => file, |
owner => root, |
mode => 0750, |
- source => 'puppet:///modules/statsmaster/cron_geoipdb_update.sh', |
+ source => 'puppet:///modules/statsmaster/cron_geoipdb_update.py', |
} |
cron {'geoipdb_update': |
ensure => present, |
- require => File['/opt/cron_geoipdb_update.sh'], |
- command => '/opt/cron_geoipdb_update.sh', |
+ require => File['/opt/cron_geoipdb_update.py'], |
+ command => '/opt/cron_geoipdb_update.py', |
environment => ['MAILTO=admins@adblockplus.org,root'], |
user => root, |
hour => 3, |
minute => 15, |
monthday => 3, |
} |
} |