mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9417 from Security-Onion-Solutions/2.4/eval
Fix EVAL mode in 2.4
This commit is contained in:
@@ -64,10 +64,11 @@ base:
|
||||
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
|
||||
- elasticsearch.auth
|
||||
{% endif %}
|
||||
- kibana.secrets
|
||||
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
|
||||
- soc_global
|
||||
- kibana.secrets
|
||||
{% endif %}
|
||||
- soc_global
|
||||
- kratos.soc_kratos
|
||||
- elasticsearch.soc_elasticsearch
|
||||
- manager.soc_manager
|
||||
- soc.soc_soc
|
||||
|
||||
0
salt/common/tools/sbin/so-elastic-agent-gen-installers
Normal file → Executable file
0
salt/common/tools/sbin/so-elastic-agent-gen-installers
Normal file → Executable file
0
salt/common/tools/sbin/so-elastic-auth-password-reset
Normal file → Executable file
0
salt/common/tools/sbin/so-elastic-auth-password-reset
Normal file → Executable file
0
salt/common/tools/sbin/so-elastic-fleet-setup
Normal file → Executable file
0
salt/common/tools/sbin/so-elastic-fleet-setup
Normal file → Executable file
0
salt/common/tools/sbin/so-firewall-minion
Normal file → Executable file
0
salt/common/tools/sbin/so-firewall-minion
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-restart
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-restart
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-start
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-start
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-stop
Normal file → Executable file
0
salt/common/tools/sbin/so-idh-stop
Normal file → Executable file
0
salt/common/tools/sbin/so-status
Normal file → Executable file
0
salt/common/tools/sbin/so-status
Normal file → Executable file
@@ -1,4 +1,5 @@
|
||||
{% from 'allowed_states.map.jinja' import allowed_states %}
|
||||
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||
|
||||
{% if sls in allowed_states %}
|
||||
{% if grains['role'] in ['so-eval', 'so-import'] %}
|
||||
|
||||
13
salt/vars/eval.map.jinja
Normal file
13
salt/vars/eval.map.jinja
Normal file
@@ -0,0 +1,13 @@
|
||||
{% from 'vars/elasticsearch.map.jinja' import ELASTICSEARCH_GLOBALS %}
|
||||
|
||||
{% set ROLE_GLOBALS = {} %}
|
||||
|
||||
{% set EVAL_GLOBALS =
|
||||
[
|
||||
ELASTICSEARCH_GLOBALS
|
||||
]
|
||||
%}
|
||||
|
||||
{% for sg in EVAL_GLOBALS %}
|
||||
{% do salt['defaults.merge'](ROLE_GLOBALS, sg, merge_lists=False, in_place=True) %}
|
||||
{% endfor %}
|
||||
@@ -332,7 +332,6 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
get_redirect
|
||||
collect_so_allow
|
||||
whiptail_end_settings
|
||||
# Start the install
|
||||
elif [[ $is_standalone ]]; then
|
||||
waitforstate=true
|
||||
monints=true
|
||||
|
||||
Reference in New Issue
Block a user