Skip to content

Commit

Permalink
Get rid of unused 'authselect_profile var-declares
Browse files Browse the repository at this point in the history
While here, fix the `dir=<dir_path>` spacing
  • Loading branch information
ferricoxide committed Aug 31, 2023
1 parent 5c5d561 commit a62edd8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion ash-linux/el8/STIGbyID/cat1/RHEL-08-no_pam_nullok.sls
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
{%- set stig_id = 'RHEL-08-no_pam_nullok' %}
{%- set helperLoc = 'ash-linux/el8/STIGbyID/cat1/files' %}
{%- set skipIt = salt.pillar.get('ash-linux:lookup:skip-stigs', []) %}
{%- set authselect_profile = salt.pillar.get('ash-linux:lookup:pam_stuff:profile_name', 'sssd-hardened') %}

script_{{ stig_id }}-describe:
cmd.script:
Expand Down
3 changes: 1 addition & 2 deletions ash-linux/el8/STIGbyID/cat2/RHEL-08-pam_faillock.sls
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
{%- set stig_id = 'RHEL-08-pam_faillock' %}
{%- set helperLoc = 'ash-linux/el8/STIGbyID/cat2/files' %}
{%- set skipIt = salt.pillar.get('ash-linux:lookup:skip-stigs', []) %}
{%- set authselect_profile = salt.pillar.get('ash-linux:lookup:pam_stuff:profile_name', 'sssd-hardened') %}
{%- set faillock_cfg_file = '/etc/security/faillock.conf' %}
{%- set faillock_deny_count = salt.pillar.get('ash-linux:lookup:pam_stuff:faillock_deny_count', 3) %}
{%- set faillock_fail_interval = salt.pillar.get('ash-linux:lookup:pam_stuff:faillock_fail_interval', 900) %}
Expand Down Expand Up @@ -195,7 +194,7 @@ Set pam_faillock logging dir to {{ faillock_logging_dir }}:
- not_found_content: |-
# Inserted per STIG ID RHEL-08-030590
dir={{ faillock_logging_dir }}
dir = {{ faillock_logging_dir }}
- pattern: '^(#\s*|.*)(dir)(\s*=\s*).*$'
- repl: '\g<2>\g<3>{{ faillock_logging_dir }}'
- require:
Expand Down
1 change: 0 additions & 1 deletion ash-linux/el8/STIGbyID/cat2/RHEL-08-pam_pwhistory.sls
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
{%- set stig_id = 'RHEL-08-pam_pwhistory' %}
{%- set helperLoc = 'ash-linux/el8/STIGbyID/cat2/files' %}
{%- set skipIt = salt.pillar.get('ash-linux:lookup:skip-stigs', []) %}
{%- set authselect_profile = salt.pillar.get('ash-linux:lookup:pam_stuff:profile_name', 'sssd-hardened') %}
{%- set pwhistory_cfg_file = '/etc/security/pwhistory.conf' %}
{%- set pwhistory_remember = salt.pillar.get('ash-linux:lookup:pam_stuff:pwhistory_remember', 5) %}
{%- set pwhistory_retry = salt.pillar.get('ash-linux:lookup:pam_stuff:pwhistory_retry', 3) %}
Expand Down

0 comments on commit a62edd8

Please sign in to comment.