Pārlūkot izejas kodu

Merge pull request #81 from jcristau/no-documentroot

allow absence of DocumentRoot
tags/v0.37.4
puneet kandhari pirms 9 gadiem
vecāks
revīzija
92cc127bfe
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      apache/vhosts/standard.sls

+ 2
- 0
apache/vhosts/standard.sls Parādīt failu

@@ -21,11 +21,13 @@ include:
- watch_in:
- module: apache-reload

{% if site.get('DocumentRoot') != False %}
{{ id }}-documentroot:
file.directory:
- unless: test -d {{ documentroot }}
- name: {{ documentroot }}
- makedirs: True
{% endif %}

{% if grains.os_family == 'Debian' %}
{% if site.get('enabled') %}

Notiek ielāde…
Atcelt
Saglabāt