Browse Source

Fix requisites for user state

group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group.
tags/v0.45.0
J. Random Hacker 11 years ago
parent
commit
7b7ee3f2f8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      users/init.sls

+ 3
- 3
users/init.sls View File

- groups: - groups:
- {{ name }} - {{ name }}
{% for group in user.get('groups', []) %} {% for group in user.get('groups', []) %}
- {{ group }}_group
- {{ group }}
{% endfor %} {% endfor %}
- require: - require:
- group: {{ name }}_user
- group: {{ name }}
{% for group in user.get('groups', []) %} {% for group in user.get('groups', []) %}
- group: {{ group }}_group
- group: {{ group }}
{% endfor %} {% endfor %}


user_keydir_{{ name }}: user_keydir_{{ name }}:

Loading…
Cancel
Save