Skip to content

add types in sudo::conf #145

add types in sudo::conf

add types in sudo::conf #145

Triggered via pull request May 13, 2024 18:16
@sazsaz
synchronize #306
add-types
Status Cancelled
Total duration 2m 55s
Artifacts

ci.yml

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

Annotations

206 errors
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L33
sudo::conf when creating a sudo entry is expected to contain Sudo::Conf[admins] with priority => 10 and content supplied string Failure/Error: is_expected.to contain_sudo__conf('admins').with( priority: params[:priority], content: params[:content] ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L40
sudo::conf when creating a sudo entry is expected to contain File[10_admins] with ensure => "present", content supplied string, owner => "root", group => "root", path => "/etc/sudoers.d/10_admins" and mode => "0440" Failure/Error: is_expected.to contain_file(filename).with( ensure: 'present', content: "# This file is managed by Puppet; changes may be overwritten\n%admins ALL=(ALL) NOPASSWD: ALL\n", owner: 'root', group: 'root', path: file_path, mode: '0440' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
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' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
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}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L59
sudo::conf when creating a sudo entry is expected not to contain File[10_admins] that requires Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] Failure/Error: it { is_expected.not_to contain_file(filename).that_requires("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L75
sudo::conf when creating a sudo entry with single number priority is expected to contain Sudo::Conf[admins] with priority => 5 and content supplied string Failure/Error: is_expected.to contain_sudo__conf('admins').with( priority: params[:priority], content: params[:content] ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L82
sudo::conf when creating a sudo entry with single number priority is expected to contain File[05_admins] with ensure => "present", content supplied string, owner => "root", group => "root", path => "/etc/sudoers.d/05_admins" and mode => "0440" Failure/Error: is_expected.to contain_file(filename).with( ensure: 'present', content: "# This file is managed by Puppet; changes may be overwritten\n%admins ALL=(ALL) NOPASSWD: ALL\n", owner: 'root', group: 'root', path: file_path, mode: '0440' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
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' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
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}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/defines/sudo_spec.rb#L101
sudo::conf when creating a sudo entry with single number priority is expected not to contain File[05_admins] that requires Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] Failure/Error: it { is_expected.not_to contain_file(filename).that_requires("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az801-305.jplelvhbra5e3n4vadtwxrmqqe.phxx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L33
sudo::conf when creating a sudo entry is expected to contain Sudo::Conf[admins] with priority => 10 and content supplied string Failure/Error: is_expected.to contain_sudo__conf('admins').with( priority: params[:priority], content: params[:content] ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L40
sudo::conf when creating a sudo entry is expected to contain File[10_admins] with ensure => "present", content supplied string, owner => "root", group => "root", path => "/etc/sudoers.d/10_admins" and mode => "0440" Failure/Error: is_expected.to contain_file(filename).with( ensure: 'present', content: "# This file is managed by Puppet; changes may be overwritten\n%admins ALL=(ALL) NOPASSWD: ALL\n", owner: 'root', group: 'root', path: file_path, mode: '0440' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
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' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
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}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L59
sudo::conf when creating a sudo entry is expected not to contain File[10_admins] that requires Exec[sudo-syntax-check for file /etc/sudoers.d/10_admins] Failure/Error: it { is_expected.not_to contain_file(filename).that_requires("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/#{params[:priority]}_#{title}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L75
sudo::conf when creating a sudo entry with single number priority is expected to contain Sudo::Conf[admins] with priority => 5 and content supplied string Failure/Error: is_expected.to contain_sudo__conf('admins').with( priority: params[:priority], content: params[:content] ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L82
sudo::conf when creating a sudo entry with single number priority is expected to contain File[05_admins] with ensure => "present", content supplied string, owner => "root", group => "root", path => "/etc/sudoers.d/05_admins" and mode => "0440" Failure/Error: is_expected.to contain_file(filename).with( ensure: 'present', content: "# This file is managed by Puppet; changes may be overwritten\n%admins ALL=(ALL) NOPASSWD: ALL\n", owner: 'root', group: 'root', path: file_path, mode: '0440' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
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' ) Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
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}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/defines/sudo_spec.rb#L101
sudo::conf when creating a sudo entry with single number priority is expected not to contain File[05_admins] that requires Exec[sudo-syntax-check for file /etc/sudoers.d/05_admins] Failure/Error: it { is_expected.not_to contain_file(filename).that_requires("Exec[sudo-syntax-check for file #{params[:sudo_config_dir]}/0#{params[:priority]}_#{title}]") } Puppet::PreformattedError: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /home/runner/work/puppet-sudo/puppet-sudo/spec/fixtures/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node fv-az774-224.j3qnnsaxsfoepktz21rketxmog.bx.internal.cloudapp.net
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'archlinuxrolling-64.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181728476.pp.avMmZo Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node archlinuxrolling-64.example.com
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'archlinuxrolling-64.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181730017.pp.YvdlIs Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node archlinuxrolling-64.example.com
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'archlinuxrolling-64.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181736395.pp.lGUxB2 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node archlinuxrolling-64.example.com
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / - Archlinux rolling: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181733815.pp.OdqWPA Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet8.example.com
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181735596.pp.4Irplr Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet8.example.com
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181741598.pp.pmrKEk Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet8.example.com
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181741919.pp.59wDMe Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet7.example.com
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181743553.pp.YjyL3Z Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet7.example.com
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181749179.pp.pspYQX Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos7-64-puppet7.example.com
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181742459.pp.YPkmgH Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet7.example.com
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181744174.pp.Eg5a1E Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet7.example.com
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181750063.pp.umbuKe Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet7.example.com
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181741962.pp.vTFyXS Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet7.example.com
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181743701.pp.tUCVV0 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet7.example.com
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181749618.pp.fmW4RF Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet7.example.com
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181741479.pp.05nFFm Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet7.example.com
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181743064.pp.W5uw1U Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet7.example.com
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181749697.pp.6R0yZA Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet7.example.com
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181743013.pp.0rF5xk Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet8.example.com
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181744854.pp.knAaih Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet8.example.com
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'oracle7-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181751064.pp.Jf3OGQ Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node oracle7-64-puppet8.example.com
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - OracleLinux 7: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181748624.pp.nTEPnz Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet8.example.com
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181750341.pp.p0Vpoi Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet8.example.com
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181756187.pp.sQMoX0 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet8.example.com
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181745761.pp.hiG210 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet8.example.com
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181747410.pp.U620lW Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet8.example.com
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181754747.pp.vjbb8U Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet8.example.com
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181746224.pp.2siYYK Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2204-64-puppet7.example.com
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181747809.pp.dBJa2p Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2204-64-puppet7.example.com
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181755327.pp.4rmRjr Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2204-64-puppet7.example.com
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181746347.pp.q6S2ht Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet8.example.com
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181748157.pp.ifd2Ee Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet8.example.com
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181755910.pp.6ov4FP Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian11-64-puppet8.example.com
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - Debian 11: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181745593.pp.Yqh5Ly Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet8.example.com
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "No passwd entry for user 'nosudoguy'\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +No passwd entry for user 'nosudoguy'
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181747279.pp.dSh0ny Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet8.example.com
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181755532.pp.vZWjrE Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet8.example.com
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181749621.pp.u38iDB Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet7.example.com
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181751186.pp.ts7tlO Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet7.example.com
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181758392.pp.uJ2JFx Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node debian10-64-puppet7.example.com
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181753774.pp.wy253H Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet8.example.com
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181755585.pp.Q3YQ36 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet8.example.com
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181801886.pp.ZLJ3U1 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos8-64-puppet8.example.com
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - CentOS 8: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181752275.pp.AFi9rx Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet8.example.com
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181754012.pp.UblatA Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet8.example.com
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181802122.pp.sHsaLx Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet8.example.com
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 8 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181759882.pp.UMeME9 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet7.example.com
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181801475.pp.UUgi0e Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet7.example.com
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181809240.pp.wImk1t Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2004-64-puppet7.example.com
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181804426.pp.weifLU Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet7.example.com
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "No passwd entry for user 'nosudoguy'\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +No passwd entry for user 'nosudoguy'
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181806074.pp.HHov9o Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet7.example.com
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181814654.pp.abCo5T Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu1804-64-puppet7.example.com
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181815341.pp.l8daF4 Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet7.example.com
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and prefix set to puppet_ specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181816959.pp.lfG0HQ Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet7.example.com
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/puppet_10_janedoe_nopasswd".file?` to be truthy, got false
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and prefix set to puppet_ specified managed file File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/puppet_10_janedoe_nopasswd" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L74
sudo::conf class with ignore and suffix set to _puppet specified managed file create a puppet managed file Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181822595.pp.Qvi8AB Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node centos9-64-puppet7.example.com
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L91
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/sudoers.d/10_janedoe_nopasswd_puppet".file?` to be truthy, got false
Puppet / 7 - CentOS 9: spec/acceptance/sudo_conf_spec.rb#L92
sudo::conf class with ignore and suffix set to _puppet specified managed file File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" is expected to contain "janedoe ALL=(ALL) NOPASSWD: ALL" Failure/Error: it { is_expected.to contain 'janedoe ALL=(ALL) NOPASSWD: ALL' } expected File "/etc/sudoers.d/10_janedoe_nopasswd_puppet" to contain "janedoe ALL=(ALL) NOPASSWD: ALL"
Puppet / 8 - Ubuntu 22.04
Canceling since a higher priority waiting request for '306/merge' exists
Puppet / 8 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L8
sudo::conf class with default parameters works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_181858168.pp.hxhmPC Last 10 lines of output were: Info: Loading facts Error: Evaluation Error: Optional-Type[] accepts 1 argument. Got 2 (file: /etc/puppetlabs/code/environments/production/modules/sudo/manifests/conf.pp, line: 40, column: 3) on node ubuntu2204-64-puppet8.example.com
Puppet / 8 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L45
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" stdout is expected to match /Hello World/ Failure/Error: its(:stdout) { is_expected.to match %r{Hello World} } expected "" to match /Hello World/ Diff: @@ -1 +1 @@ -/Hello World/ +""
Puppet / 8 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L46
sudo::conf class with default parameters Command "su - janedoe -c 'sudo echo Hello World'" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)
Puppet / 8 - Ubuntu 22.04: spec/acceptance/sudo_conf_spec.rb#L50
sudo::conf class with default parameters Command "su - nosudoguy -c 'sudo echo Hello World'" stderr is expected to match /no tty present and no askpass program specified|a terminal is required to read the password/ Failure/Error: its(:stderr) { is_expected.to match %r{no tty present and no askpass program specified|a terminal is required to read the password} } expected "su: user nosudoguy does not exist or the user entry does not contain all the required fields\n" to match /no tty present and no askpass program specified|a terminal is required to read the password/ Diff: @@ -1 +1 @@ -/no tty present and no askpass program specified|a terminal is required to read the password/ +su: user nosudoguy does not exist or the user entry does not contain all the required fields
Puppet / 8 - Ubuntu 22.04
The operation was canceled.