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

make sure {{ htauth }} exists: make sure {{ htauth }} exists:
file.exists: file.exists:
- name: {{ htauth }} - name: {{ htauth }}
- makedirs: True


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

Loading…
Cancel
Save