From 9d531d23e42c5dcc9ad931bf16b130bfaa83f735 Mon Sep 17 00:00:00 2001 From: Andrew Bramble Date: Mon, 7 Aug 2017 15:42:39 +1000 Subject: [PATCH] *fix* variable name in config file template (copy paste bites again) --- templates/blackbox_exporter.yaml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blackbox_exporter.yaml.erb b/templates/blackbox_exporter.yaml.erb index 42e5808c2..19053f4d3 100644 --- a/templates/blackbox_exporter.yaml.erb +++ b/templates/blackbox_exporter.yaml.erb @@ -1,4 +1,4 @@ <% require 'yaml' -%> <% modules = scope.lookupvar('::prometheus::blackbox_exporter::modules') -%> -<% full_config = { 'modules'=>global } -%> +<% full_config = { 'modules'=>modules } -%> <%= full_config.to_yaml -%>