瀏覽代碼

Merge pull request #45 from thornycrackers/master

Create vhost DocumentRoot directory
master
Nitin Madhok 9 年之前
父節點
當前提交
bb33e3856a
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      apache/vhosts/standard.sls

+ 5
- 0
apache/vhosts/standard.sls 查看文件

@@ -19,6 +19,11 @@ include:
- pkg: apache
- watch_in:
- module: apache-reload
{{ id }}-documentroot:
file.directory:
- unless: test -d {{ site.get('DocumentRoot') }}
- name: {{ site.get('DocumentRoot') }}

{% if grains.os_family == 'Debian' %}
a2ensite {{ id }}{{ apache.confext }}:

Loading…
取消
儲存