mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue