mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
MEGARAMS Savings - Add advanced logic for services disabled
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user