Ensure bootstrap_complete grain is set
At the time this if block is called, the mine / grains sync hasn't
happened yet.
@@ -132,7 +132,6 @@ reboot_setup:
- require:
- salt: kube_master_setup
-{% if salt.saltutil.runner('mine.get', tgt='roles:kube-(master|minion)', fun='caasp_fqdn', tgt_type='grain_pcre')|length > 0 %}
set_bootstrap_grain:
salt.function:
- tgt: 'roles:(admin|kube-(master|minion))'
@@ -143,4 +142,3 @@ set_bootstrap_grain:
- true
- require:
- salt: reboot_setup
-{% endif %}
\ No newline at end of file
