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 # Add socore Group
socoregroup: socoregroup:
group.present: group.present:
@@ -187,7 +188,7 @@ so-telegraf:
- /opt/so/conf/telegraf/scripts - /opt/so/conf/telegraf/scripts
# If its a master or eval lets install the back end for now # 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 # Influx DB
influxconfdir: influxconfdir:

View File

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