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

Unified Diff: modules/statsmaster/templates/sitescripts.ini.erb

Issue 29366882: Issue 3574 - Refactor Puppet class base into class adblockplus (Closed)
Patch Set: Created Dec. 6, 2016, 10:40 a.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
Index: modules/statsmaster/templates/sitescripts.ini.erb
===================================================================
--- a/modules/statsmaster/templates/sitescripts.ini.erb
+++ b/modules/statsmaster/templates/sitescripts.ini.erb
@@ -1,5 +1,5 @@
<%
-servers = scope.function_hiera('servers', {})
+servers = scope.function_hiera('adblockplus::hosts', {})
filter_servers = servers.select { |hostname, record| record.fetch('role', nil) == 'filterserver' }
fqdn = lambda { |hostname, record| record.fetch 'dns', "#{hostname}.adblockplus.org" }
-%>
« modules/private-stub/hiera/hosts.yaml ('K') | « modules/private-stub/hiera/hosts.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld