Merge pull request #474 from sticky-note/fix/service

fix(service): service `salt-master` watch `remove-default-master-conf…
This commit is contained in:
Imran Iqbal 2020-07-17 13:19:25 +01:00 committed by GitHub
commit 88b5b451b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,8 @@ salt-master:
remove-default-master-conf-file:
file.absent:
- name: {{ salt_settings.config_path }}/master
- watch_in:
- service: salt-master
{% endif %}
# clean up old _defaults.conf file if they have it around