diff options
author | Georg Pfuetzenreuter | 2023-04-30 14:39:27 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2023-04-30 14:39:27 +0200 |
commit | d65cb9a43b8e8a20b6d3a65a71091043051654be (patch) | |
tree | bcf8529d78018d2e79860f82a88c9219a015437d /salt/profile/apache-httpd | |
parent | b1249e69eb51b619dde5a3b0ffc162c86ffff16f (diff) | |
download | salt-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/apache-httpd')
-rw-r--r-- | salt/profile/apache-httpd/init.sls | 5 |
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 %} |