Explorar el Código

Merge pull request #477 from noelmcloughlin/fx

fix(minion): fix requisites from recent prs
tags/v1.5.0
Imran Iqbal hace 4 años
padre
commit
5cee96484d
Ninguna cuenta vinculada a la dirección de correo electrónico del committer
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. +3
    -0
      salt/master.sls
  2. +2
    -2
      salt/minion.sls

+ 3
- 0
salt/master.sls Ver fichero

@@ -55,8 +55,11 @@ salt-master:
- enable: {{ salt_settings.master_service_details.enabled }}
- name: {{ salt_settings.master_service }}
- watch:
{%- if grains.kernel|lower == 'darwin' %}
- file: salt-master-macos
{%- else %}
- file: salt-master
{%- endif %}
- file: remove-old-master-conf-file
{% endif %}
{% if salt_settings.master_remove_config %}

+ 2
- 2
salt/minion.sls Ver fichero

@@ -51,6 +51,8 @@ salt-minion-macos:
interval: 10
splay: 10
- require_in:
- service: salt-minion
- watch_in:
- service: salt-minion
{%- endif %}
{%- endif %}
@@ -104,8 +106,6 @@ salt-minion:
- enable: {{ salt_settings.minion_service_details.enabled }}
- name: {{ salt_settings.minion_service }}
- watch:
- file: salt-master-macos
- file: salt-master
- file: remove-old-minion-conf-file
{% endif %}
{%- if not salt_settings.restart_via_at %}

Cargando…
Cancelar
Guardar