MEGARAMS Savings - Add advanced logic for services disabled

This commit is contained in:
Mike Reeves
2019-03-18 15:46:47 -04:00
parent dfd25567e1
commit 55e577a7a2
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
{%- set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
# Add socore Group
socoregroup:
group.present:
@@ -187,7 +188,7 @@ so-telegraf:
- /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' %}
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' and GRAFANA == 1 %}
# Influx DB
influxconfdir:

View File

@@ -33,10 +33,10 @@ base:
- curator
- elastalert
- redis
{%- if OSQUERY != '0' %}
{%- if OSQUERY != 0 %}
- fleet
{%- endif %}
{%- if WAZUH != '0' %}
{%- if WAZUH != 0 %}
- wazuh
{%- endif %}
- filebeat