From 894e9705493cffc90b949d4c915cc3e1dce4c1ba Mon Sep 17 00:00:00 2001
From: Andreas Thienemann <andreas@bawue.net>
Date: Sat, 27 Oct 2018 22:13:49 +0200
Subject: [PATCH] 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.
---
 apache/config.sls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apache/config.sls b/apache/config.sls
index 60d6e85..45c40b9 100644
--- a/apache/config.sls
+++ b/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
-- 
GitLab