Browse Source

Merge pull request #199 from noelmcloughlin/macos

fix(macos): ensure correct prime_group value
tags/v0.45.0
N 5 years ago
parent
commit
7884fe6b29
No account linked to committer's email address
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      users/map.jinja

+ 3
- 2
users/map.jinja 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 %}

Loading…
Cancel
Save