summaryrefslogtreecommitdiffstats
path: root/salt/profile
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-04-30 14:39:27 +0200
committerGeorg Pfuetzenreuter2023-04-30 14:39:27 +0200
commitd65cb9a43b8e8a20b6d3a65a71091043051654be (patch)
treebcf8529d78018d2e79860f82a88c9219a015437d /salt/profile
parentb1249e69eb51b619dde5a3b0ffc162c86ffff16f (diff)
downloadsalt-d65cb9a43b8e8a20b6d3a65a71091043051654be.tar.gz
salt-d65cb9a43b8e8a20b6d3a65a71091043051654be.tar.bz2
salt-d65cb9a43b8e8a20b6d3a65a71091043051654be.zip
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>
Diffstat (limited to 'salt/profile')
-rw-r--r--salt/profile/apache-httpd/init.sls5
1 files changed, 1 insertions, 4 deletions
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 %}