Browse Source
Merge pull request #482 from remichristiaan/restart_master_minion_last
fix(service): service salt-master and salt-minion to restart last
tags/v1.5.1
Imran Iqbal
4 years ago
No account linked to committer's email address
2 changed files with
2 additions and
0 deletions
-
salt/master.sls
-
salt/minion.sls
|
|
|
|
|
|
|
|
- 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: |