From 39b6d3c3c5062c6ace2d0b0379ebbd5d586380d0 Mon Sep 17 00:00:00 2001 From: N Date: Tue, 11 Jun 2019 15:16:19 +0100 Subject: [PATCH] fix(macos): ensure correct group --- users/map.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/map.jinja b/users/map.jinja index e366f72..449745b 100644 --- a/users/map.jinja +++ b/users/map.jinja @@ -89,5 +89,6 @@ {% if grains.os == 'MacOS' %} {% set group = salt['cmd.run']("stat -f '%Sg' /dev/console") %} - {% do users.update({'root_group': group,}) %} + {% do users.update({'root_group': group, + 'prime_group': group}) %} {% endif %}