Skip to content

Commit

Permalink
fix(init): replace gid_from_name (deprecated in develop)
Browse files Browse the repository at this point in the history
* Close saltstack-formulas#198
* All details in that issue
* Solution based upon:
  - saltstack-formulas/vault-formula#35 (comment)
  • Loading branch information
myii committed Jul 24, 2019
1 parent 8d48adb commit 923b460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }}
Expand Down

0 comments on commit 923b460

Please sign in to comment.