mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-27 22:38:34 +01:00
fix(init): replace gid_from_name
(deprecated in develop
)
* Close #198 * All details in that issue * Solution based upon: - https://github.com/saltstack-formulas/vault-formula/pull/35#issuecomment-509854411
This commit is contained in:
parent
8d48adb3a2
commit
923b4600f1
@ -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'] }}
|
||||
|
Loading…
Reference in New Issue
Block a user