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

Side by Side Diff: modules/statsmaster/manifests/awstats.pp

Issue 29365870: Noissue - Stop trying to process easylist.adblockplus.org logs, that subdomain is gone (Closed) Base URL: https://hg.adblockplus.org/infrastructure
Patch Set: Created Dec. 1, 2016, 9:05 a.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/awstatsdatadaily', 4 file {['/var/www/awstatsdata', '/var/www/awstatsdatadaily',
5 '/var/www/awstatsconf', '/var/www/awstats', 5 '/var/www/awstatsconf', '/var/www/awstats',
6 '/var/www/awstats/archive', '/var/www/awstats/daily']: 6 '/var/www/awstats/archive', '/var/www/awstats/daily']:
7 ensure => directory, 7 ensure => directory,
8 owner => root, 8 owner => root,
9 mode => 0755, 9 mode => 0755,
10 } 10 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 content => template('statsmaster/anonymize_ips_item.erb'), 95 content => template('statsmaster/anonymize_ips_item.erb'),
96 order => $title, 96 order => $title,
97 } 97 }
98 } 98 }
99 99
100 $sites = { 100 $sites = {
101 'adblockplus.org' => { 101 'adblockplus.org' => {
102 host => 'web2.adblockplus.org', 102 host => 'web2.adblockplus.org',
103 log => 'access_log_adblockplus.org', 103 log => 'access_log_adblockplus.org',
104 }, 104 },
105 'easylist.adblockplus.org' => {
106 host => 'ssh.adblockplus.org',
107 log => 'access_log_easylist',
108 },
109 'share.adblockplus.org' => { 105 'share.adblockplus.org' => {
110 host => 'web-sh-abp-org-1.adblockplus.org', 106 host => 'web-sh-abp-org-1.adblockplus.org',
111 log => 'access_log_share.adblockplus.org', 107 log => 'access_log_share.adblockplus.org',
112 }, 108 },
113 'facebook.adblockplus.me' => { 109 'facebook.adblockplus.me' => {
114 host => 'web-fb-abp-me-1.adblockplus.org', 110 host => 'web-fb-abp-me-1.adblockplus.org',
115 log => 'access_log_facebook.adblockplus.me', 111 log => 'access_log_facebook.adblockplus.me',
116 }, 112 },
117 'youtube.adblockplus.me' => { 113 'youtube.adblockplus.me' => {
118 host => 'web-yt-abp-me-1.adblockplus.org', 114 host => 'web-yt-abp-me-1.adblockplus.org',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 '/var/www/awstatsconf', '/var/www/awstats'], 162 '/var/www/awstatsconf', '/var/www/awstats'],
167 ], 163 ],
168 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth', 164 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth',
169 environment => ['MAILTO=admins@adblockplus.org,root'], 165 environment => ['MAILTO=admins@adblockplus.org,root'],
170 user => stats, 166 user => stats,
171 monthday => 1, 167 monthday => 1,
172 hour => 6, 168 hour => 6,
173 minute => 0, 169 minute => 0,
174 } 170 }
175 } 171 }
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