Skip to content

Use pam_pwhistory for ubuntu 22.04 #73

Use pam_pwhistory for ubuntu 22.04

Use pam_pwhistory for ubuntu 22.04 #73

Triggered via pull request September 27, 2024 19:31
Status Failure
Total duration 13m 58s
Artifacts

pdk-test-unit.yml

on: pull_request
Matrix: unit
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/pam_old_passwords_spec.rb#L44
cis_security_hardening::rules::pam_old_passwords on ubuntu-22.04-x86_64 with enforce = true is expected to contain Pam[ubuntu-remember-old-pw] with ensure => "present", service => "common-password", type => "password", control => "[success=1 default=ignore]", control_is_param => true, module => "pam_unix.so", arguments => ["obscure", "use_authok", "try_first_pass", "yescrypt", "remember=5"] and position => "before *[type=\"password\" and module=\"pam_deny.so\"]" Failure/Error: is_expected.to contain_pam('ubuntu-remember-old-pw') .with( 'ensure' => 'present', 'service' => 'common-password', 'type' => 'password', 'control' => '[success=1 default=ignore]', 'control_is_param' => true, 'module' => 'pam_unix.so', 'arguments' => ['obscure', 'use_authok', 'try_first_pass', 'yescrypt', 'remember=5'], 'position' => 'before *[type="password" and module="pam_deny.so"]', expected that the catalogue would contain Pam[ubuntu-remember-old-pw]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml)
Process completed with exit code 1.
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/pam_old_passwords_spec.rb#L44
cis_security_hardening::rules::pam_old_passwords on ubuntu-22.04-x86_64 with enforce = true is expected to contain Pam[ubuntu-remember-old-pw] with ensure => "present", service => "common-password", type => "password", control => "[success=1 default=ignore]", control_is_param => true, module => "pam_unix.so", arguments => ["obscure", "use_authok", "try_first_pass", "yescrypt", "remember=5"] and position => "before *[type=\"password\" and module=\"pam_deny.so\"]" Failure/Error: is_expected.to contain_pam('ubuntu-remember-old-pw') .with( 'ensure' => 'present', 'service' => 'common-password', 'type' => 'password', 'control' => '[success=1 default=ignore]', 'control_is_param' => true, 'module' => 'pam_unix.so', 'arguments' => ['obscure', 'use_authok', 'try_first_pass', 'yescrypt', 'remember=5'], 'position' => 'before *[type="password" and module="pam_deny.so"]', expected that the catalogue would contain Pam[ubuntu-remember-old-pw]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml)
Process completed with exit code 1.