Skip to content

check one file for syntax and rm params fixes #223 #141

check one file for syntax and rm params fixes #223

check one file for syntax and rm params fixes #223 #141

Triggered via pull request May 13, 2024 16:02
Status Failure
Total duration 3m 25s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
16s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L51
sudo::conf when creating a sudo entry is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] with command => "visudo -c || ( rm -f '/etc/sudoers.d/10_admins' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{params[:sudo_config_dir]}/#{params[:priority]}_#{title}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L58
sudo::conf when creating a sudo entry is expected to contain File[10_admins] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[10_admins] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L93
sudo::conf when creating a sudo entry with single number priority is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] with command => "visudo -c || ( rm -f '/etc/sudoers.d/05_admins' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L100
sudo::conf when creating a sudo entry with single number priority is expected to contain File[05_admins] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[05_admins] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L133
sudo::conf when creating a sudo entry with whitespace in name is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq] with command => "visudo -c || ( rm -f '/etc/sudoers.d/05_admins_hq' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{file_path}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L140
sudo::conf when creating a sudo entry with whitespace in name is expected to contain File[05_admins hq] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[05_admins hq] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L236
sudo::conf when adding a sudo entry with a suffix _foobar is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L265
sudo::conf when adding a sudo entry with a prefix alpha_ is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins]
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L294
sudo::conf when adding a sudo entry with a prefix _alpha and suffix _beta is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta]
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L51
sudo::conf when creating a sudo entry is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] with command => "visudo -c || ( rm -f '/etc/sudoers.d/10_admins' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{params[:sudo_config_dir]}/#{params[:priority]}_#{title}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L58
sudo::conf when creating a sudo entry is expected to contain File[10_admins] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[10_admins] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L93
sudo::conf when creating a sudo entry with single number priority is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] with command => "visudo -c || ( rm -f '/etc/sudoers.d/05_admins' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L100
sudo::conf when creating a sudo entry with single number priority is expected to contain File[05_admins] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[05_admins] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L133
sudo::conf when creating a sudo entry with whitespace in name is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq] with command => "visudo -c || ( rm -f '/etc/sudoers.d/05_admins_hq' && exit 1)" and refreshonly => "true" Failure/Error: is_expected.to contain_exec("sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}").with( command: "visudo -c || ( rm -f '#{file_path}' && exit 1)", refreshonly: 'true' ) expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L140
sudo::conf when creating a sudo entry with whitespace in name is expected to contain File[05_admins hq] that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq] Failure/Error: it { is_expected.to contain_file(filename).that_notifies("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } expected that the catalogue would contain File[05_admins hq] with that notifies Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins hq]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L236
sudo::conf when adding a sudo entry with a suffix _foobar is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins_foobar]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L265
sudo::conf when adding a sudo entry with a prefix alpha_ is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins]
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L294
sudo::conf when adding a sudo entry with a prefix _alpha and suffix _beta is expected to contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta] Failure/Error: is_expected.to contain_exec('sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta') expected that the catalogue would contain Exec[sudo-syntax-check for file /etc/sudoers.d/alpha_10_admins_beta]
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.