Parcourir la 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 il y a 6 ans
Parent
révision
894e970549
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      apache/config.sls

+ 1
- 1
apache/config.sls Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer