Fix hardcoded path (#242)

The config.sls state uses a hardcoded file path for the welcome
config.
Use the confdir variable to build the path instead to allow for
overrides.
This commit is contained in:
Andreas Thienemann 2018-10-27 22:13:49 +02:00 committed by Niels Abspoel
parent 4ed6e228f5
commit 894e970549

View File

@ -57,7 +57,7 @@ include:
{% endif %}
{% if grains['os_family']=="RedHat" %}
/etc/httpd/conf.d/welcome.conf:
{{ apache.confdir }}/welcome.conf:
file.absent:
- require:
- pkg: apache