Merge pull request #199 from noelmcloughlin/macos

fix(macos): ensure correct prime_group value
This commit is contained in:
N 2019-06-23 17:04:17 +01:00 committed by GitHub
commit 7884fe6b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,5 +93,6 @@
{% if grains.os == 'MacOS' %}
{% set group = salt['cmd.run']("stat -f '%Sg' /dev/console") %}
{% do users.update({'root_group': group,}) %}
{% endif %}
{% do users.update({'root_group': group,
'prime_group': group}) %}
{%- endif %}