OLD | NEW |
(Empty) | |
| 1 <% |
| 2 servers = scope.function_hiera('servers', {}) |
| 3 filter_servers = servers.select { |hostname, record| record.fetch('role', nil) =
= 'filterserver' } |
| 4 fqdn = lambda { |hostname, record| record.fetch 'dns', "#{hostname}.adblockplus.
org" } |
| 5 -%> |
| 6 [stats] |
| 7 geoip_db=/usr/share/GeoIP/GeoIP.dat |
| 8 geoipv6_db=/usr/share/GeoIP/GeoIPv6.dat |
| 9 |
| 10 # Subscription mirrors accumulated via Puppet |
| 11 <% filter_servers.each do |hostname, record| -%> |
| 12 mirror_<%= hostname %>=subscription ssh://stats@<%= fqdn.call(hostname, record)
%>/access_log_easylist_downloads.1.gz |
| 13 <% end -%> |
| 14 |
| 15 # Notification mirrors accumulated via Puppet |
| 16 <% filter_servers.each do |hostname, record| -%> |
| 17 mirror_n_<%= hostname %>=notification ssh://stats@<%= fqdn.call(hostname, record
) %>/access_log_notification.1.gz |
| 18 <% end -%> |
| 19 |
| 20 mirror_download1=download ssh://stats@download1.adblockplus.org/access_log_downl
oads.1.gz |
| 21 mirror_download2=download ssh://stats@download2.adblockplus.org/access_log_downl
oads.1.gz |
| 22 mirror_download3=download ssh://stats@download3.adblockplus.org/access_log_downl
oads.1.gz |
| 23 mirror_download4=download ssh://stats@download4.adblockplus.org/access_log_downl
oads.1.gz |
| 24 mirror_download5=download ssh://stats@download5.adblockplus.org/access_log_downl
oads.1.gz |
| 25 mirror_update1=update ssh://stats@update1.adblockplus.org/access_log_update.1.gz |
| 26 |
| 27 baseURL_subscription=https://easylist-downloads.adblockplus.org/ |
| 28 baseURL_download=https://downloads.adblockplus.org/ |
| 29 baseURL_update=https://update.adblockplus.org/ |
| 30 baseURL_notification=https://notification.adblockplus.org/ |
| 31 |
| 32 dataDirectory=/var/www/statsdata |
| 33 outputDirectory=/var/www/stats |
| 34 |
| 35 mainPageTemplate=stats/template/main.html |
| 36 fileOverviewTemplate=stats/template/fileOverview.html |
| 37 filePageTemplate=stats/template/fileStats.html |
OLD | NEW |