diff --git a/apache/vhosts/standard.sls b/apache/vhosts/standard.sls index bbf3fdd..3579e12 100644 --- a/apache/vhosts/standard.sls +++ b/apache/vhosts/standard.sls @@ -24,6 +24,7 @@ include: file.directory: - unless: test -d {{ site.get('DocumentRoot') }} - name: {{ site.get('DocumentRoot') }} + - makedirs: True {% if grains.os_family == 'Debian' %} a2ensite {{ id }}{{ apache.confext }}: