Correct variable name
This commit is contained in:
parent
114bb34fc4
commit
1a2d22b2e8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user