Browse Source

Merge pull request #477 from noelmcloughlin/fx

fix(minion): fix requisites from recent prs
tags/v1.5.0
Imran Iqbal 4 years ago
parent
commit
5cee96484d
No account linked to committer's email address
2 changed files with 5 additions and 2 deletions
  1. +3
    -0
      salt/master.sls
  2. +2
    -2
      salt/minion.sls

+ 3
- 0
salt/master.sls View File

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

+ 2
- 2
salt/minion.sls View File

interval: 10 interval: 10
splay: 10 splay: 10
- require_in: - require_in:
- service: salt-minion
- watch_in:
- service: salt-minion - service: salt-minion
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}
- enable: {{ salt_settings.minion_service_details.enabled }} - enable: {{ salt_settings.minion_service_details.enabled }}
- name: {{ salt_settings.minion_service }} - name: {{ salt_settings.minion_service }}
- watch: - watch:
- file: salt-master-macos
- file: salt-master
- file: remove-old-minion-conf-file - file: remove-old-minion-conf-file
{% endif %} {% endif %}
{%- if not salt_settings.restart_via_at %} {%- if not salt_settings.restart_via_at %}

Loading…
Cancel
Save