diff --git a/salt/common/init.sls b/salt/common/init.sls index 3cd4dce19..e34431a46 100644 --- a/salt/common/init.sls +++ b/salt/common/init.sls @@ -142,8 +142,6 @@ so-core: - watch: - file: /opt/so/conf/nginx/nginx.conf -# If master or eval, install Grafana/Telegraf/Influx -{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' and GRAFANA == 1 %} # Add Telegraf to monitor all the things. tgraflogdir: file.directory: @@ -216,6 +214,9 @@ so-telegraf: - /opt/so/conf/telegraf/etc/telegraf.conf - /opt/so/conf/telegraf/scripts +# If its a master or eval lets install the back end for now +{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' and GRAFANA == 1 %} + # Influx DB influxconfdir: file.directory: