mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +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
|
# This state is for checking things
|
||||||
{% if grains['role'] == 'so-master' %}
|
{% 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
|
# Make sure Cross Cluster is good. Will need some logic once we have hot/warm
|
||||||
crossclusterson:
|
crossclusterson:
|
||||||
cmd.script:
|
cmd.script:
|
||||||
@@ -10,3 +10,4 @@ crossclusterson:
|
|||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user