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:
parent
4ed6e228f5
commit
894e970549
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user