Browse Source

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.
tags/v0.37.4
Andreas Thienemann 6 years ago
parent
commit
894e970549
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/config.sls

+ 1
- 1
apache/config.sls View File

{% 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…
Cancel
Save