Skip to content

Commit

Permalink
fix(service): service salt-master and salt-minion to restart last
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
VBH-Jenkins committed Jul 27, 2020
1 parent 76e820c commit d71cf0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions salt/master.sls
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ salt-master:
- file: salt-master
{%- endif %}
- file: remove-old-master-conf-file
- order: last
{% endif %}
{% if salt_settings.master_remove_config %}
remove-default-master-conf-file:
Expand Down
1 change: 1 addition & 0 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ salt-minion:
- name: {{ salt_settings.minion_service }}
- watch:
- file: remove-old-minion-conf-file
- order: last
{% endif %}
{%- if not salt_settings.restart_via_at %}
cmd.run:
Expand Down

0 comments on commit d71cf0c

Please sign in to comment.