Merge pull request #60 from Thingks/master

Correct variable name
This commit is contained in:
puneet kandhari 2015-06-19 16:01:51 -05:00
commit f34b239202

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: