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

@@ -24,7 +24,6 @@ include:
{% if site.get('DocumentRoot') != False %}
{{ id }}-documentroot:
file.directory:
- unless: test -d {{ documentroot }}
- name: {{ documentroot }}
- makedirs: True
{% if site.get('DocumentRootUser') %}

Loading…
Cancel
Save