Skip to content

Commit cf1928c

Browse files
authored
Merge pull request #221 from noelmcloughlin/macos
fix(macos): gid must be numeric on macos
2 parents 4c414f3 + 9517e4b commit cf1928c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

users/init.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ users_{{ name }}_user:
143143
- gid: {{ user['prime_group']['gid'] }}
144144
{% elif 'prime_group' in user and 'name' in user['prime_group'] %}
145145
- gid: {{ user['prime_group']['name'] }}
146-
{% else -%}
146+
{% elif grains.os != 'MacOS' -%}
147147
- gid: {{ name }}
148148
{% endif -%}
149149
{% if 'fullname' in user %}

0 commit comments

Comments
 (0)