Browse Source

Merge pull request #189 from arthurlogilab/nginx-users-makedirs

[nginx/users] add makedirs to htpasswd deploy
master
Niels Abspoel 6 years ago
parent
commit
5a7e113a15
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/users.sls

+ 1
- 0
nginx/users.sls View File

@@ -12,6 +12,7 @@ touch {{ htauth }}:
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