mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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
|
||||
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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user