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:
parent
d4f8cf955d
commit
39b6d3c3c5
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user