{{ id }}: | {{ id }}: | ||||
file: | file: | ||||
- managed | - managed | ||||
- name: {{ apache.vhostdir }}/{{ id }} | |||||
- name: {{ apache.vhostdir }}/{{ id }}{{ apache.confext }} | |||||
- source: {{ site.get('template_file', 'salt://apache/vhosts/standard.tmpl') }} | - source: {{ site.get('template_file', 'salt://apache/vhosts/standard.tmpl') }} | ||||
- template: {{ site.get('template_engine', 'jinja') }} | - template: {{ site.get('template_engine', 'jinja') }} | ||||
- context: | - context: |