From 9517e4b069d130b442562ed28fa9641cfebeb698 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Sat, 25 Jul 2020 16:37:26 +0200 Subject: [PATCH] fix(macos): gid must be numeric on macos --- users/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/init.sls b/users/init.sls index 55edcd3..057e8d5 100644 --- a/users/init.sls +++ b/users/init.sls @@ -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 %}