Index: modules/statsmaster/manifests/awstats.pp |
=================================================================== |
--- a/modules/statsmaster/manifests/awstats.pp |
+++ b/modules/statsmaster/manifests/awstats.pp |
@@ -2,16 +2,22 @@ class statsmaster::awstats { |
package {['awstats', 'libgeo-ip-perl']:} |
file {['/var/www/awstatsdata', '/var/www/awstatsconf', '/var/www/awstats']: |
ensure => directory, |
owner => root, |
mode => 0755, |
} |
+ file {'/etc/cron.d/awstats': |
+ # AWStats package thinks that running AWStats without proper configuration |
+ # every 10 minutes is a good idea. |
+ ensure => absent, |
+ } |
+ |
concat {'/var/www/awstats/index.html': |
mode => 0644, |
owner => root, |
} |
concat {['/home/stats/process_logs', '/home/stats/build_static', |
'/home/stats/anonymize_ips']: |
owner => stats, |