Browse Source

[nginx/users] add makedirs to htpasswd deploy

master
Arthur Lutz 6 years ago
parent
commit
28d1069617
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/users.sls

+ 1
- 0
nginx/users.sls View File

@@ -8,6 +8,7 @@ htpasswd:
make sure {{ htauth }} exists:
file.exists:
- name: {{ htauth }}
- makedirs: True

{% for name, user in pillar.get('users', {}).items() %}
{% if user['webauth'] is defined -%}

Loading…
Cancel
Save