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: