From 96f4dd334055113c13fd36c3c9f39eda9af63bd0 Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist <pahol@sunet.se> Date: Wed, 26 Mar 2025 09:39:56 +0100 Subject: [PATCH] fix variable in telegraf erb file, SC-2522 --- .../modules/eid/templates/telegraf2/95-telegraf.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/95-telegraf.conf.erb b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/95-telegraf.conf.erb index 870f0f69..a90c14f8 100644 --- a/global/overlay/etc/puppet/modules/eid/templates/telegraf2/95-telegraf.conf.erb +++ b/global/overlay/etc/puppet/modules/eid/templates/telegraf2/95-telegraf.conf.erb @@ -1,5 +1,5 @@ [[outputs.influxdb_v2]] - urls = [<%= @influxdb2_urls %>] + urls = "<%= @influxdb2_urls %>" token = <%= @influxdb2_token %> organization = <%= @influxdb2_org %> bucket = <%= @influxdb2_bucket %> @@ -7,7 +7,7 @@ [outputs.influxdb_v2.tagdrop] influxdb_database = ["*"] [[outputs.influxdb_v2]] - urls = [<%= @influx_urls %>] + urls = "<%= @influx_urls %>" token = <%= @influxdb2_token %> organization = <%= @influxdb2_org %> bucket = <%= @INFLUXDB2_BUCKET_PROXY %>