summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-02-12 03:06:20 +0100
committerGeorg Pfuetzenreuter2023-02-12 03:06:20 +0100
commit90436341238f61dcf5948507ca764b8d5b13ddb6 (patch)
tree89699d9ce0c0d14921b8a52504bf69b92e4020ce
parent5da0bfe798ae7440942f3e222d3d03b6b96b6afe (diff)
parent9a0c210b87a4d2f7808f539898f2f41380d6a76f (diff)
downloadsalt-90436341238f61dcf5948507ca764b8d5b13ddb6.tar.gz
salt-90436341238f61dcf5948507ca764b8d5b13ddb6.tar.bz2
salt-90436341238f61dcf5948507ca764b8d5b13ddb6.zip
Merge pull request 'lighttpd: improve dependencies' (#21) from lighttpd-watch into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/21
-rw-r--r--salt/profile/lighttpd/init.sls5
1 files changed, 5 insertions, 0 deletions
diff --git a/salt/profile/lighttpd/init.sls b/salt/profile/lighttpd/init.sls
index 1d4f9e9..662f8f1 100644
--- a/salt/profile/lighttpd/init.sls
+++ b/salt/profile/lighttpd/init.sls
@@ -25,6 +25,8 @@ lighttpd_files:
- group: lighttpd
- mode: '0640'
- template: jinja
+ - watch_in:
+ - service: lighttpd_service
- names:
- /etc/lighttpd/lighttpd.conf:
- source: salt:///{{ slspath }}/files/etc/lighttpd/lighttpd.conf.j2
@@ -40,3 +42,6 @@ lighttpd_service:
service.running:
- name: lighttpd.service
- enable: True
+ - reload: True
+ - require:
+ - pkg: lighttpd_packages