mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-12-18 06:12:57 +01:00
fix(macos): gid must be numeric on macos
This commit is contained in:
parent
4c414f3792
commit
9517e4b069
@ -143,7 +143,7 @@ users_{{ name }}_user:
|
|||||||
- gid: {{ user['prime_group']['gid'] }}
|
- gid: {{ user['prime_group']['gid'] }}
|
||||||
{% 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 -%}
|
{% elif grains.os != 'MacOS' -%}
|
||||||
- gid: {{ name }}
|
- gid: {{ name }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
{% if 'fullname' in user %}
|
{% if 'fullname' in user %}
|
||||||
|
Loading…
Reference in New Issue
Block a user