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

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

Issue 29322051: Issue 2766 - Remove underscores from DNS names (Closed)
Patch Set: Created July 13, 2015, 6:51 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 | « modules/private-stub/hiera/hosts.yaml ('k') | modules/web/templates/adblockplus.org.conf.erb » ('j') | 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 }, 120 },
121 'acceptableads.org' => { 121 'acceptableads.org' => {
122 host => 'web-aa-org-1.adblockplus.org', 122 host => 'web-aa-org-1.adblockplus.org',
123 log => 'access_log_acceptableads.org', 123 log => 'access_log_acceptableads.org',
124 }, 124 },
125 'eyeo.com' => { 125 'eyeo.com' => {
126 host => 'web1.adblockplus.org', 126 host => 'web1.adblockplus.org',
127 log => 'access_log_eyeo.com', 127 log => 'access_log_eyeo.com',
128 }, 128 },
129 'intraforum.adblockplus.org' => { 129 'intraforum.adblockplus.org' => {
130 host => 'server_10.adblockplus.org', 130 host => 'server10.adblockplus.org',
mathias 2015/07/13 06:53:44 @trev Can you think of any side-effects in the sta
Wladimir Palant 2015/07/13 11:35:27 No, AWStats doesn't care about host names.
131 log => 'access_log_intraforum', 131 log => 'access_log_intraforum',
132 }, 132 },
133 } 133 }
134 134
135 create_resources(statsmaster::awstats::siteconfig, $sites) 135 create_resources(statsmaster::awstats::siteconfig, $sites)
136 136
137 # 137 #
138 # IMPORTANT: This will only work correctly if the following bugs are fixed 138 # IMPORTANT: This will only work correctly if the following bugs are fixed
139 # in your AWStats instance (might require manual patching): 139 # in your AWStats instance (might require manual patching):
140 # 140 #
(...skipping 25 matching lines...) Expand all
166 '/var/www/awstatsconf', '/var/www/awstats'], 166 '/var/www/awstatsconf', '/var/www/awstats'],
167 ], 167 ],
168 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth', 168 command => '/home/stats/anonymize_ips prevmonth && /home/stats/build_static prevmonth',
169 environment => ['MAILTO=admins@adblockplus.org,root'], 169 environment => ['MAILTO=admins@adblockplus.org,root'],
170 user => stats, 170 user => stats,
171 monthday => 1, 171 monthday => 1,
172 hour => 6, 172 hour => 6,
173 minute => 0, 173 minute => 0,
174 } 174 }
175 } 175 }
OLDNEW
« no previous file with comments | « modules/private-stub/hiera/hosts.yaml ('k') | modules/web/templates/adblockplus.org.conf.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld