diff --git a/nginx/users.sls b/nginx/users.sls index 8f3a65e..f1e9316 100644 --- a/nginx/users.sls +++ b/nginx/users.sls @@ -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 -%}