Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/statsmaster/manifests/init.pp

Issue 5316783485485056: Issue 670 - Use GeoIP City database for AWStats (Closed)
Patch Set: Created June 17, 2014, 3:06 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
}
}

Powered by Google App Engine
This is Rietveld