diff --git a/users/init.sls b/users/init.sls index 1349161..3e40f1e 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 }}: