Browse Source

vhosts/standard: fix set user/group

unless test -d on file.directory seems useless.
master
Adrien "ze" Urban 6 years ago
parent
commit
2bae6fea10
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      apache/vhosts/standard.sls

+ 0
- 1
apache/vhosts/standard.sls View File

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

Loading…
Cancel
Save