Quellcode durchsuchen

fix(service): service salt-master and salt-minion to restart last

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
RemiChristiaan vor 4 Jahren
Ursprung
Commit
d71cf0c4f9
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +1
    -0
      salt/master.sls
  2. +1
    -0
      salt/minion.sls

+ 1
- 0
salt/master.sls Datei anzeigen

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

+ 1
- 0
salt/minion.sls Datei anzeigen

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

Laden…
Abbrechen
Speichern