0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-27 22:38:34 +01:00

Merge pull request #204 from myii/fix/replace-gid_from_name

fix(init): replace `gid_from_name` (deprecated in `develop`)
This commit is contained in:
Niels Abspoel 2019-08-01 20:38:15 +02:00 committed by GitHub
commit 5517d954e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ users_{{ name }}_user:
{% elif 'prime_group' in user and 'name' in user['prime_group'] %} {% elif 'prime_group' in user and 'name' in user['prime_group'] %}
- gid: {{ user['prime_group']['name'] }} - gid: {{ user['prime_group']['name'] }}
{% else -%} {% else -%}
- gid_from_name: True - gid: {{ name }}
{% endif -%} {% endif -%}
{% if 'fullname' in user %} {% if 'fullname' in user %}
- fullname: {{ user['fullname'] }} - fullname: {{ user['fullname'] }}