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.
|
# modified files cause conflicts, set verify_env to False.
|
||||||
# user: socore
|
# user: socore
|
||||||
|
|
||||||
|
log_file: /opt/so/log/salt/master
|
||||||
|
|
||||||
##### File Server settings #####
|
##### File Server settings #####
|
||||||
##########################################
|
##########################################
|
||||||
|
|||||||
@@ -145,7 +145,9 @@ so-elasticsearch-pipelines:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- name: /opt/so/conf/elasticsearch/so-elasticsearch-pipelines {{ esclustername }}
|
- 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:
|
so-elasticsearch-templates:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: /usr/sbin/so-elasticsearch-templates
|
- name: /usr/sbin/so-elasticsearch-templates
|
||||||
- cwd: /opt/so
|
- cwd: /opt/so
|
||||||
|
{% endif %}
|
||||||
@@ -111,7 +111,7 @@ filebeat.inputs:
|
|||||||
clean_removed: false
|
clean_removed: false
|
||||||
close_removed: false
|
close_removed: false
|
||||||
|
|
||||||
{%- if STRELKAENABLED == '1' %}
|
{%- if STRELKAENABLED == 1 %}
|
||||||
|
|
||||||
- type: log
|
- type: log
|
||||||
paths:
|
paths:
|
||||||
@@ -132,7 +132,7 @@ filebeat.inputs:
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{%- if WAZUHENABLED == '1' %}
|
{%- if WAZUHENABLED == 1 %}
|
||||||
|
|
||||||
- type: log
|
- type: log
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -325,7 +325,8 @@ configure_minion() {
|
|||||||
|
|
||||||
echo "use_superseded:" >> /etc/salt/minion
|
echo "use_superseded:" >> /etc/salt/minion
|
||||||
echo " - module.run" >> /etc/salt/minion
|
echo " - module.run" >> /etc/salt/minion
|
||||||
|
echo "log_file: /opt/so/log/salt/minion" >> /etc/salt/minion
|
||||||
|
|
||||||
service salt-minion restart
|
service salt-minion restart
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user