Giuseppe Lavagetto has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311116

Change subject: prometheus: use scope.function in template
......................................................................

prometheus: use scope.function in template

Change-Id: I3f009738af039bb597610df5da871452cc8d7dc5
---
M modules/role/templates/prometheus/node_site.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/16/311116/1

diff --git a/modules/role/templates/prometheus/node_site.yaml.erb 
b/modules/role/templates/prometheus/node_site.yaml.erb
index 5bf454f..417ad9d 100644
--- a/modules/role/templates/prometheus/node_site.yaml.erb
+++ b/modules/role/templates/prometheus/node_site.yaml.erb
@@ -1,6 +1,6 @@
 <%-
 all = []
-clusters = function_get_clusters([{
+clusters = scope.function_get_clusters([{
          'site' => [scope.lookupvar('::site')]
 }])
 

-- 
To view, visit https://gerrit.wikimedia.org/r/311116
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f009738af039bb597610df5da871452cc8d7dc5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to