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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class statsmaster::awstats { 1 class statsmaster::awstats {
2 package {['awstats', 'libgeo-ip-perl']:} 2 package {['awstats', 'libgeo-ip-perl']:}
3 3
4 file {['/var/www/awstatsdata', '/var/www/awstatsconf', '/var/www/awstats']: 4 file {['/var/www/awstatsdata', '/var/www/awstatsconf', '/var/www/awstats']:
5 ensure => directory, 5 ensure => directory,
6 owner => root, 6 owner => root,
7 mode => 0755, 7 mode => 0755,
8 } 8 }
9 9
10 file {'/etc/cron.d/awstats':
11 # AWStats package thinks that running AWStats without proper configuration
12 # every 10 minutes is a good idea.
13 ensure => absent,
14 }
15
10 concat {'/var/www/awstats/index.html': 16 concat {'/var/www/awstats/index.html':
11 mode => 0644, 17 mode => 0644,
12 owner => root, 18 owner => root,
13 } 19 }
14 20
15 concat {['/home/stats/process_logs', '/home/stats/build_static', 21 concat {['/home/stats/process_logs', '/home/stats/build_static',
16 '/home/stats/anonymize_ips']: 22 '/home/stats/anonymize_ips']:
17 owner => stats, 23 owner => stats,
18 mode => 0700, 24 mode => 0700,
19 } 25 }
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 '/var/www/awstatsconf', '/var/www/awstatsdata', '/var/www/awstats'], 153 '/var/www/awstatsconf', '/var/www/awstatsdata', '/var/www/awstats'],
148 ], 154 ],
149 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth', 155 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth',
150 environment => ['MAILTO=admins@adblockplus.org,root'], 156 environment => ['MAILTO=admins@adblockplus.org,root'],
151 user => stats, 157 user => stats,
152 monthday => 1, 158 monthday => 1,
153 hour => 6, 159 hour => 6,
154 minute => 0, 160 minute => 0,
155 } 161 }
156 } 162 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld