m0duspwnens
2019-12-12 16:21:57 -05:00
parent af61469bad
commit 481d52a5a8

View File

@@ -1,4 +1,3 @@
{%- set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
# Add socore Group # Add socore Group
socoregroup: socoregroup:
group.present: group.present:
@@ -143,7 +142,7 @@ so-core:
- file: /opt/so/conf/nginx/nginx.conf - file: /opt/so/conf/nginx/nginx.conf
# If master or eval, install Grafana/Telegraf/Influx # If master or eval, install Grafana/Telegraf/Influx
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' and GRAFANA == 1 %} {% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
# Add Telegraf to monitor all the things. # Add Telegraf to monitor all the things.
tgraflogdir: tgraflogdir:
file.directory: file.directory: