mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2024-11-28 00:48:22 +01:00
Merge pull request #199 from noelmcloughlin/macos
fix(macos): ensure correct prime_group value
This commit is contained in:
commit
7884fe6b29
@ -93,5 +93,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,
|
||||||
{% endif %}
|
'prime_group': group}) %}
|
||||||
|
{%- endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user