From 8facbcf18c16b432fdb2beef12cbfc023c8abead Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Fri, 9 Apr 2021 20:40:44 -0400 Subject: [PATCH] Do not set influxdb hostUrl if import node since import nodes don't run influxdb --- salt/soc/files/soc/soc.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/salt/soc/files/soc/soc.json b/salt/soc/files/soc/soc.json index 1dcd46c63..6f1c3a6da 100644 --- a/salt/soc/files/soc/soc.json +++ b/salt/soc/files/soc/soc.json @@ -54,7 +54,11 @@ "verifyCert": false }, "influxdb": { +{%- if grains['role'] in ['so-import'] %} + "hostUrl": "", +{%- else %} "hostUrl": "https://{{ MANAGERIP }}:8086", +{%- endif %} "token": "", "org": "", "bucket": "telegraf",