Correct variable name

This commit is contained in:
Rico Moorman 2015-06-19 22:55:30 +02:00
parent 114bb34fc4
commit 1a2d22b2e8

View File

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