Browse Source

Update standard.sls

Make sure that you can makedirs incase parent folders are not created
tags/v0.37.4
Cody Hiar 9 years ago
parent
commit
f1b89abd3b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apache/vhosts/standard.sls

+ 1
- 0
apache/vhosts/standard.sls 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 }}:

Loading…
Cancel
Save