add types in sudo::conf #145
Annotations
10 errors
Run tests:
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
|
Run tests:
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/
+""
|
Run tests:
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 ==)
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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"
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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"
|
Loading