fix(minion): correct root user group on MacOS
This commit is contained in:
parent
6cd64bd759
commit
fcd2567b1d
@ -198,7 +198,7 @@ permissions-minion-config:
|
|||||||
- name: {{ salt_settings.config_path | path_join('minion') }}
|
- name: {{ salt_settings.config_path | path_join('minion') }}
|
||||||
- user: {{ salt_settings.rootuser }}
|
- user: {{ salt_settings.rootuser }}
|
||||||
- group:
|
- group:
|
||||||
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
|
||||||
wheel
|
wheel
|
||||||
{%- else %}
|
{%- else %}
|
||||||
root
|
root
|
||||||
@ -218,7 +218,7 @@ salt-minion-pki-dir:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
- user: {{ salt_settings.rootuser }}
|
- user: {{ salt_settings.rootuser }}
|
||||||
- group:
|
- group:
|
||||||
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
|
||||||
wheel
|
wheel
|
||||||
{%- else %}
|
{%- else %}
|
||||||
root
|
root
|
||||||
@ -237,7 +237,7 @@ permissions-minion.pem:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
- user: {{ salt_settings.rootuser }}
|
- user: {{ salt_settings.rootuser }}
|
||||||
- group:
|
- group:
|
||||||
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
|
||||||
wheel
|
wheel
|
||||||
{%- else %}
|
{%- else %}
|
||||||
root
|
root
|
||||||
@ -258,7 +258,7 @@ permissions-minion.pub:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
- user: {{ salt_settings.rootuser }}
|
- user: {{ salt_settings.rootuser }}
|
||||||
- group:
|
- group:
|
||||||
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %}
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin'] %}
|
||||||
wheel
|
wheel
|
||||||
{%- else %}
|
{%- else %}
|
||||||
root
|
root
|
||||||
|
Loading…
Reference in New Issue
Block a user