Skip to content

Commit

Permalink
fix(minion): correct root user group on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed Mar 23, 2022
1 parent e509a14 commit 04bb105
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions salt/minion.sls
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ permissions-minion-config:
- name: {{ salt_settings.config_path | path_join('minion') }}
- user: {{ salt_settings.rootuser }}
- group:
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
wheel
{%- else %}
root
Expand All @@ -218,7 +218,7 @@ salt-minion-pki-dir:
{% endif %}
- user: {{ salt_settings.rootuser }}
- group:
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
wheel
{%- else %}
root
Expand All @@ -237,7 +237,7 @@ permissions-minion.pem:
{% endif %}
- user: {{ salt_settings.rootuser }}
- group:
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
wheel
{%- else %}
root
Expand All @@ -258,7 +258,7 @@ permissions-minion.pub:
{% endif %}
- user: {{ salt_settings.rootuser }}
- group:
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
wheel
{%- else %}
root
Expand Down

0 comments on commit 04bb105

Please sign in to comment.