From d65cb9a43b8e8a20b6d3a65a71091043051654be Mon Sep 17 00:00:00 2001
From: Georg Pfuetzenreuter
Date: Sun, 30 Apr 2023 14:39:27 +0200
Subject: Watch httpd service for snippets

The reload/restart module calls have been dropped from the formula.
Watch the service.running state instead.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
---
 salt/profile/apache-httpd/init.sls | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'salt')

diff --git a/salt/profile/apache-httpd/init.sls b/salt/profile/apache-httpd/init.sls
index db5b6f9..f30337c 100644
--- a/salt/profile/apache-httpd/init.sls
+++ b/salt/profile/apache-httpd/init.sls
@@ -16,11 +16,8 @@
     - require:
       - file: {{ snippetsdir }}
     {#- formula dependencies #}
-    - require_in:
-      - module: apache-service-running-restart
-      - service: apache-service-running
     - watch_in:
-      - module: apache-service-running-reload
+      - service: apache-service-running
 {%- endfor %}
 {%- endif %}
 
-- 
cgit v1.2.3