Skip to content

Commit

Permalink
fix pam/pam_response_filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jan 14, 2021
1 parent 2cfc8c3 commit e443280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@
undef => undef,
default => join($pam_app_services, ', '),
},
'pam_response_filter' => $pam_response_filter? {
undef => undef,
default => join($pam_response_filter, ', '),
},
}.filter |$x| { $x[1] =~ NotUndef }
}
'sudo': {
Expand Down
1 change: 1 addition & 0 deletions spec/defines/sssd_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
it { is_expected.to contain_sssd_conf('pam/pam_pwd_expiration_warning').with_value('0') }
it { is_expected.to contain_sssd_conf('pam/pam_trusted_users').with_value('0') }
it { is_expected.to contain_sssd_conf('pam/pam_verbosity').with_value('1') }
it { is_expected.to contain_sssd_conf('pam/pam_response_filter').with_value('ENV') }
it { is_expected.to contain_sssd_conf('pam/reconnection_retries').with_value('3') }
it { is_expected.to contain_sssd_conf('pam/responder_idle_timeout').with_value('300') }
it { is_expected.to contain_sssd_conf('pam/timeout').with_value('10') }
Expand Down

0 comments on commit e443280

Please sign in to comment.