From 1a2d22b2e8fa5648cd41f6384baff205d45e6ea4 Mon Sep 17 00:00:00 2001 From: Rico Moorman Date: Fri, 19 Jun 2015 22:55:30 +0200 Subject: [PATCH] Correct variable name --- apache/vhosts/standard.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache/vhosts/standard.sls b/apache/vhosts/standard.sls index 4864e8c..f65fd86 100644 --- a/apache/vhosts/standard.sls +++ b/apache/vhosts/standard.sls @@ -4,7 +4,7 @@ include: - apache {% for id, site in salt['pillar.get']('apache:sites', {}).items() %} -{% set documentroot = site.get('DocumentRoot', '{0}/{1}'.format(apache.wwwdir, sitename)) %} +{% set documentroot = site.get('DocumentRoot', '{0}/{1}'.format(apache.wwwdir, id)) %} {{ id }}: file: