mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
redirect and throw in bg
This commit is contained in:
@@ -605,7 +605,7 @@ function updateMineAndApplyStates() {
|
||||
# calls so-common and set_minionid sets MINIONID to local minion id
|
||||
set_minionid
|
||||
# $MINIONID is the minion id of the manager and $MINION_ID is the target node or the node being configured
|
||||
salt-run state.orch orch.deploy_newnode pillar="{'setup': {'manager': $MINIONID, 'newnode': $MINION_ID }}"
|
||||
salt-run state.orch orch.deploy_newnode pillar="{'setup': {'manager': $MINIONID, 'newnode': $MINION_ID }}" > /dev/null 2>&1 &
|
||||
}
|
||||
|
||||
function setupMinionFiles() {
|
||||
|
||||
@@ -21,9 +21,6 @@ manager_run_es_soc:
|
||||
- elasticsearch
|
||||
- soc
|
||||
- queue: True
|
||||
- retry:
|
||||
attempts: 3
|
||||
interval: 60
|
||||
- require:
|
||||
- salt: {{NEWNODE}}_update_mine
|
||||
{% endif %}
|
||||
@@ -33,15 +30,3 @@ manager_run_es_soc:
|
||||
- tgt: {{ NEWNODE }}
|
||||
- highstate: True
|
||||
- queue: True
|
||||
- retry:
|
||||
attempts: 5
|
||||
interval: 60
|
||||
|
||||
{{NEWNODE}}_set_highstate_cron:
|
||||
salt.state:
|
||||
- tgt: {{ NEWNODE }}
|
||||
- sls:
|
||||
- setup.highstate_cron
|
||||
- queue: True
|
||||
- onfail:
|
||||
- salt: {{NEWNODE}}_run_highstate
|
||||
|
||||
Reference in New Issue
Block a user