mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-12 20:22:59 +01:00
orchit
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
{% set MANAGER = salt['pillar.get']('setup:manager') %}
|
||||
{% set NEWNODE = salt['pillar.get']('setup:newnode') %}
|
||||
|
||||
# tell the minion to populate the mine with data from mine_functions which is populated during setup
|
||||
# this only needs to happen on non managers since they handle this during setup
|
||||
# and they need to wait for ca creation to update the mine
|
||||
{{NEWNODE}}_update_mine:
|
||||
salt.function:
|
||||
- name: mine.update
|
||||
- tgt: {{ NEWNODE }}
|
||||
- retry:
|
||||
attempts: 24
|
||||
attempts: 36
|
||||
interval: 5
|
||||
|
||||
# we need to prepare the manager for a new searchnode or heavynode
|
||||
{% if NEWNODE.split('_')|last in ['searchnode', 'heavynode'] %}
|
||||
manager_run_es_soc:
|
||||
salt.state:
|
||||
|
||||
Reference in New Issue
Block a user