瀏覽代碼

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…
取消
儲存