Merge pull request #221 from noelmcloughlin/macos

fix(macos): gid must be numeric on macos
This commit is contained in:
Imran Iqbal 2020-07-25 20:43:18 +01:00 committed by GitHub
commit cf1928cdc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@ users_{{ name }}_user:
- gid: {{ user['prime_group']['gid'] }}
{% elif 'prime_group' in user and 'name' in user['prime_group'] %}
- gid: {{ user['prime_group']['name'] }}
{% else -%}
{% elif grains.os != 'MacOS' -%}
- gid: {{ name }}
{% endif -%}
{% if 'fullname' in user %}