0
0
mirror of https://github.com/saltstack-formulas/users-formula.git synced 2024-11-28 00:48:22 +01:00

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

View File

@ -89,5 +89,6 @@
{% if grains.os == 'MacOS' %} {% if grains.os == 'MacOS' %}
{% set group = salt['cmd.run']("stat -f '%Sg' /dev/console") %} {% 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 %} {% endif %}