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: For comment 6 Created Dec. 6, 2016, 11:42 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
« no previous file with comments | « modules/private-stub/hiera/hosts.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" }
-%>
« no previous file with comments | « modules/private-stub/hiera/hosts.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld