diff --git a/apache/vhosts/standard.sls b/apache/vhosts/standard.sls index ecd7e3cb7a1f430b2689810a3688291186a5969f..6ce24840eba84dfd5433bb78dddd97286244ccb8 100644 --- a/apache/vhosts/standard.sls +++ b/apache/vhosts/standard.sls @@ -6,7 +6,7 @@ include: {% for id, site in salt['pillar.get']('apache:sites', {}).items() %} {% set documentroot = site.get('DocumentRoot', '{0}/{1}'.format(apache.wwwdir, site.get('ServerName', id))) %} -{{ id }}-vhosts: +apache_vhosts_{{ id }}: file.managed: - name: {{ apache.vhostdir }}/{{ id }}{{ apache.confext }} - source: {{ site.get('template_file', 'salt://apache/vhosts/standard.tmpl') }}