Browse Source

fix(googleauth): handle disabled selinux

pull/229/head
Pascal de Bruijn 2 years ago
parent
commit
63dd7c88be
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      users/googleauth.sls

+ 2
- 2
users/googleauth.sls View File

- group: {{ users.root_group }} - group: {{ users.root_group }}
- mode: '0700' - mode: '0700'


{%- if grains['os_family'] == 'RedHat' %}
{%- if grains['os_family'] == 'RedHat' and "selinux" in grains and grains.selinux.enabled %}
policycoreutils-package: policycoreutils-package:
pkg.installed: pkg.installed:
- pkgs: - pkgs:
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}


{%- if grains['os_family'] == 'RedHat' %}
{%- if grains['os_family'] == 'RedHat' and "selinux" in grains and grains.selinux.enabled %}
users_googleauth_selinux_applied: users_googleauth_selinux_applied:
selinux.fcontext_policy_applied: selinux.fcontext_policy_applied:
- name: {{ users.googleauth_dir }} - name: {{ users.googleauth_dir }}

Loading…
Cancel
Save