From e1774e3b40c54b554552ecf34508c1bcbf5ffbd1 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Wed, 15 Jul 2020 16:27:01 +1100 Subject: [PATCH] fix(service): svc `salt-master` watch `remove-default-master-conf-file` --- salt/master.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/salt/master.sls b/salt/master.sls index 28ae125..29cf496 100644 --- a/salt/master.sls +++ b/salt/master.sls @@ -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