Skip to content

Commit

Permalink
Merge pull request #199 from noelmcloughlin/macos
Browse files Browse the repository at this point in the history
fix(macos): ensure correct prime_group value
  • Loading branch information
noelmcloughlin authored Jun 23, 2019
2 parents d80338d + 69c6517 commit 7884fe6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions users/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit 7884fe6

Please sign in to comment.