mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 07:53:06 +01:00
Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
# modified files cause conflicts, set verify_env to False.
|
||||
# user: socore
|
||||
|
||||
log_file: /opt/so/log/salt/master
|
||||
|
||||
##### File Server settings #####
|
||||
##########################################
|
||||
|
||||
@@ -145,7 +145,9 @@ so-elasticsearch-pipelines:
|
||||
cmd.run:
|
||||
- name: /opt/so/conf/elasticsearch/so-elasticsearch-pipelines {{ esclustername }}
|
||||
|
||||
{% if grains['role'] == 'so-master' or grains['role'] == "so-eval" or grains['role'] == "so-mastersearch" %}
|
||||
so-elasticsearch-templates:
|
||||
cmd.run:
|
||||
- name: /usr/sbin/so-elasticsearch-templates
|
||||
- cwd: /opt/so
|
||||
- cwd: /opt/so
|
||||
{% endif %}
|
||||
@@ -111,7 +111,7 @@ filebeat.inputs:
|
||||
clean_removed: false
|
||||
close_removed: false
|
||||
|
||||
{%- if STRELKAENABLED == '1' %}
|
||||
{%- if STRELKAENABLED == 1 %}
|
||||
|
||||
- type: log
|
||||
paths:
|
||||
@@ -132,7 +132,7 @@ filebeat.inputs:
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if WAZUHENABLED == '1' %}
|
||||
{%- if WAZUHENABLED == 1 %}
|
||||
|
||||
- type: log
|
||||
paths:
|
||||
|
||||
@@ -325,7 +325,8 @@ configure_minion() {
|
||||
|
||||
echo "use_superseded:" >> /etc/salt/minion
|
||||
echo " - module.run" >> /etc/salt/minion
|
||||
|
||||
echo "log_file: /opt/so/log/salt/minion" >> /etc/salt/minion
|
||||
|
||||
service salt-minion restart
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user