diff --git a/users/init.sls b/users/init.sls index abbf980..19c8e8e 100644 --- a/users/init.sls +++ b/users/init.sls @@ -144,7 +144,7 @@ users_{{ name }}_user: {% elif 'prime_group' in user and 'name' in user['prime_group'] %} - gid: {{ user['prime_group']['name'] }} {% else -%} - - gid_from_name: True + - gid: {{ name }} {% endif -%} {% if 'fullname' in user %} - fullname: {{ user['fullname'] }}