Skip to content

Commit

Permalink
Change referred-to state names
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed Sep 13, 2023
1 parent 78a5edb commit 297f3b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions join-domain/elx/sssd/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ join_realm-{{ join_domain.dns_name }}:
- cmd: 'sssd-NETBIOSfix'
- require_in:
{%- if salt.state.sls_exists(pam_no_nullok) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-no_pam_nullok)
- cmd: 'Disable nullok module in PAM'
{%- endif %}
{%- if salt.state.sls_exists(pam_pwhistory) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-pam_pwhistory)
- cmd: 'Enable pam_pwhistory module in PAM'
{%- endif %}
{%- if salt.state.sls_exists(pam_faillock) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-pam_faillock)
- cmd: 'Enable pam_faillock module in PAM'
{%- endif %}
- source: 'salt://{{ joiner_files }}/join.sh'
- unless: 'realm list | grep -qs {{ join_domain.dns_name }}'
Expand All @@ -140,13 +140,13 @@ Ensure with-mkhomedir feature is enabled:
- require:
- cmd: join_realm-{{ join_domain.dns_name }}
{%- if salt.state.sls_exists(pam_no_nullok) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-no_pam_nullok)
- cmd: 'Disable nullok module in PAM'
{%- endif %}
{%- if salt.state.sls_exists(pam_pwhistory) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-pam_pwhistory)
- cmd: 'Enable pam_pwhistory module in PAM'
{%- endif %}
{%- if salt.state.sls_exists(pam_faillock) %}
- cmd: Ensure Valid Starting Config (RHEL-0{{ elMajor }}-pam_faillock)
- cmd: 'Enable pam_faillock module in PAM'
{%- endif %}
- unless:
{%- if salt.grains.get('osmajorrelease') >= 8 %}
Expand Down

0 comments on commit 297f3b4

Please sign in to comment.