mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
24 lines
587 B
Plaintext
24 lines
587 B
Plaintext
# This state is for checking things
|
|
{% if grains['role'] == 'so-master' %}
|
|
{% if salt['pillar.get']('nodestab','') %}
|
|
# Make sure Cross Cluster is good. Will need some logic once we have hot/warm
|
|
crossclusterson:
|
|
cmd.script:
|
|
- shell: /bin/bash
|
|
- cwd: /opt/so
|
|
- runas: socore
|
|
- source: salt://utility/bin/crossthestreams.sh
|
|
- template: jinja
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if grains['role'] == 'so-eval' %}
|
|
fixsearch:
|
|
cmd.script:
|
|
- shell: /bin/bash
|
|
- cwd: /opt/so
|
|
- runas: socore
|
|
- source: salt://utility/bin/eval.sh
|
|
- template: jinja
|
|
{% endif %}
|