Merge pull request #482 from remichristiaan/restart_master_minion_last

fix(service): service salt-master and salt-minion to restart last
This commit is contained in:
Imran Iqbal 2020-08-25 22:46:36 +01:00 committed by GitHub
commit aecf1743fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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: