Utility Module - Make it so it doesn't error out for cross cluster

This commit is contained in:
Mike Reeves
2018-10-15 18:37:22 -04:00
parent 7a84caa090
commit 72fd767f12
2 changed files with 3 additions and 1 deletions

1
files/utils/so-start Normal file
View File

@@ -0,0 +1 @@
sudo salt-call state.highstate

View File

@@ -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 %}