Sfoglia il codice sorgente

Fix requisites for user state

group requisites were wrong. They required {{ group }}_group, while {{ group }} was the actually added group.
lookup-fix-3
J. Random Hacker 11 anni fa
parent
commit
7b7ee3f2f8
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      users/init.sls

+ 3
- 3
users/init.sls Vedi File

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

user_keydir_{{ name }}:

Loading…
Annulla
Salva