瀏覽代碼

Update standard.sls

Make sure that you can makedirs incase parent folders are not created
master
Cody Hiar 9 年之前
父節點
當前提交
f1b89abd3b
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      apache/vhosts/standard.sls

+ 1
- 0
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 }}:

Loading…
取消
儲存