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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if grains['os_family']=="RedHat" %}
|
{% if grains['os_family']=="RedHat" %}
|
||||||
/etc/httpd/conf.d/welcome.conf:
|
{{ apache.confdir }}/welcome.conf:
|
||||||
file.absent:
|
file.absent:
|
||||||
- require:
|
- require:
|
||||||
- pkg: apache
|
- pkg: apache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user