Files
securityonion/salt/utility/init.sls
William Wernert 4a288a0d63 [fix] Further .sh extension removal
* Remove more .sh extensions
* Edit jinja markup to prevent whitespace trimming
2020-01-23 17:03:03 -05:00

22 lines
565 B
Plaintext

# This state is for checking things
{% if grains['role'] == 'so-master' or grains['role'] == 'so-mastersearch' %}
# 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
- template: jinja
{% endif %}
{% if grains['role'] == 'so-eval' %}
fixsearch:
cmd.script:
- shell: /bin/bash
- cwd: /opt/so
- runas: socore
- source: salt://utility/bin/eval
- template: jinja
{% endif %}