Giuseppe Lavagetto has submitted this change and it was merged.

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(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I3f009738af039bb597610df5da871452cc8d7dc5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to