Update standard.sls

Make sure that you can makedirs incase parent folders are not created
This commit is contained in:
Cody Hiar 2015-03-23 16:53:45 -06:00
parent 138a522f3f
commit f1b89abd3b

View File

@ -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 }}: