- apache | - apache | ||||
{% for id, site in salt['pillar.get']('apache:sites', {}).items() %} | {% 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 }}: | {{ id }}: | ||||
file: | file: |