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

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

Issue 5087427232268288: Issue 239 - Disable default AWStats cron job (Closed)
Patch Set: Created April 25, 2014, 12:22 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld