When running a high-state on the salt-master to deploy itself, the run fails with an Authentication error occurred because the master restarts half way though.tags/v1.5.1
- file: salt-master | - file: salt-master | ||||
{%- endif %} | {%- endif %} | ||||
- file: remove-old-master-conf-file | - file: remove-old-master-conf-file | ||||
- order: last | |||||
{% endif %} | {% endif %} | ||||
{% if salt_settings.master_remove_config %} | {% if salt_settings.master_remove_config %} | ||||
remove-default-master-conf-file: | remove-default-master-conf-file: |
- name: {{ salt_settings.minion_service }} | - name: {{ salt_settings.minion_service }} | ||||
- watch: | - watch: | ||||
- file: remove-old-minion-conf-file | - file: remove-old-minion-conf-file | ||||
- order: last | |||||
{% endif %} | {% endif %} | ||||
{%- if not salt_settings.restart_via_at %} | {%- if not salt_settings.restart_via_at %} | ||||
cmd.run: | cmd.run: |