Browse Source

fix(minion): correct root user group on MacOS

pull/531/head
jeanluc 2 years ago
parent
commit
fcd2567b1d
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      salt/minion.sls

+ 4
- 4
salt/minion.sls View File

- 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
{% 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
{% 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
{% 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…
Cancel
Save