fix(macos): ensure correct group

This commit is contained in:
N 2019-06-11 15:16:19 +01:00
parent d4f8cf955d
commit 39b6d3c3c5
No known key found for this signature in database
GPG Key ID: 55A292EAB4E54067
1 changed files with 2 additions and 1 deletions

View File

@ -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 %}