Skip to content

Commit

Permalink
Merge pull request #477 from noelmcloughlin/fx
Browse files Browse the repository at this point in the history
fix(minion): fix requisites from recent prs
  • Loading branch information
myii authored Jul 15, 2020
2 parents 497fbdd + a466456 commit 5cee964
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions salt/master.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
4 changes: 2 additions & 2 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ salt-minion-macos:
interval: 10
splay: 10
- require_in:
- service: salt-minion
- watch_in:
- service: salt-minion
{%- endif %}
{%- endif %}
Expand Down Expand Up @@ -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 %}
Expand Down

0 comments on commit 5cee964

Please sign in to comment.