Преглед на файлове

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 години
родител
ревизия
894e970549
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      apache/config.sls

+ 1
- 1
apache/config.sls Целия файл

@@ -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…
Отказ
Запис