From e47352ec61132bac56a6a890ea1ee62f1c234a30 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 30 Nov 2018 16:33:53 -0500 Subject: [PATCH] Influx NO DNS Fix --- salt/common/grafana/etc/datasources/influxdb.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/common/grafana/etc/datasources/influxdb.yaml b/salt/common/grafana/etc/datasources/influxdb.yaml index 4409d7394..c9f98dc57 100644 --- a/salt/common/grafana/etc/datasources/influxdb.yaml +++ b/salt/common/grafana/etc/datasources/influxdb.yaml @@ -1,3 +1,4 @@ +{%- set MASTER = salt['pillar.get']('static:masterip', '') %} apiVersion: 1 deleteDatasources: @@ -9,7 +10,7 @@ datasources: type: influxdb access: proxy database: telegraf - url: https://{{ grains.master }}:8086 + url: https://{{ MASTER }}:8086 jsonData: tlsAuth: false tlsAuthWithCACert: false