mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Utility Module - Make it so it doesn't error out for cross cluster
This commit is contained in:
1
files/utils/so-start
Normal file
1
files/utils/so-start
Normal file
@@ -0,0 +1 @@
|
||||
sudo salt-call state.highstate
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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:
|
||||
@@ -10,3 +10,4 @@ crossclusterson:
|
||||
- template: jinja
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user