Add the ability to manage the user and group for nrpe #71
Annotations
10 errors
spec/spec_helper_acceptance.rb#L10
nrpe::command class Scenario: default_commands applies with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123415490.pp.jUmxmy
Last 10 lines of output were:
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe main config]/Concat_fragment[nrpe main config]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe includedir]/Concat_fragment[nrpe includedir]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_users]/File[/etc/nrpe.d/check_users.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_load]/File[/etc/nrpe.d/check_load.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_hda1]/File[/etc/nrpe.d/check_hda1.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_zombie_procs]/File[/etc/nrpe.d/check_zombie_procs.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_total_procs]/File[/etc/nrpe.d/check_total_procs.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Service/Service[nrpe]: Skipping because of failed dependencies
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 1.08 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:22
|
spec/spec_helper_acceptance.rb#L14
nrpe::command class Scenario: default_commands applies a second time without changes
Failure/Error: apply_manifest(pp, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123419274.pp.jHgW9L
Last 10 lines of output were:
Warning: /Stage[main]/Nrpe::Config/Concat[/etc/nagios/nrpe.cfg]/File[/etc/nagios/nrpe.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe main config]/Concat_fragment[nrpe main config]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe includedir]/Concat_fragment[nrpe includedir]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_users]/File[/etc/nrpe.d/check_users.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_load]/File[/etc/nrpe.d/check_load.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_hda1]/File[/etc/nrpe.d/check_hda1.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_zombie_procs]/File[/etc/nrpe.d/check_zombie_procs.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_total_procs]/File[/etc/nrpe.d/check_total_procs.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Service/Service[nrpe]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:22
|
spec/acceptance/nrpe_command_spec.rb#L25
nrpe::command class Scenario: default_commands the NRPE includedir File "/etc/nrpe.d" is expected to be a directory
Failure/Error: it { is_expected.to be_a_directory }
expected `File "/etc/nrpe.d".directory?` to be truthy, got false
|
spec/acceptance/nrpe_command_spec.rb#L29
nrpe::command class Scenario: default_commands the NRPE includedir Command "ls /etc/nrpe.d/*.cfg | wc -l" stdout is expected to match "5"
Failure/Error: its(:stdout) { is_expected.to match('5') }
expected "0\n" to match "5"
Diff:
@@ -1 +1 @@
-5
+0
|
spec/spec_helper_acceptance.rb#L10
nrpe::command class Scenario: purge_commands applies with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123424157.pp.81MTH9
Last 10 lines of output were:
�[mNotice: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Dependency Package[nrpe] has failures: true
�[mNotice: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Dependency Package[nagios-plugins-all] has failures: true
Warning: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat[/etc/nagios/nrpe.cfg]/Concat_file[/etc/nagios/nrpe.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat[/etc/nagios/nrpe.cfg]/File[/etc/nagios/nrpe.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe main config]/Concat_fragment[nrpe main config]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe includedir]/Concat_fragment[nrpe includedir]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_users]/File[/etc/nrpe.d/check_users.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Service/Service[nrpe]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:35
|
spec/spec_helper_acceptance.rb#L14
nrpe::command class Scenario: purge_commands applies a second time without changes
Failure/Error: apply_manifest(pp, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123427849.pp.lgsR85
Last 10 lines of output were:
�[mNotice: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Dependency Package[nrpe] has failures: true
�[mNotice: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Dependency Package[nagios-plugins-all] has failures: true
Warning: /Stage[main]/Nrpe::Config/File[nrpe_include_dir]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat[/etc/nagios/nrpe.cfg]/Concat_file[/etc/nagios/nrpe.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat[/etc/nagios/nrpe.cfg]/File[/etc/nagios/nrpe.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe main config]/Concat_fragment[nrpe main config]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Config/Concat::Fragment[nrpe includedir]/Concat_fragment[nrpe includedir]: Skipping because of failed dependencies
Warning: /Stage[main]/Main/Nrpe::Command[check_users]/File[/etc/nrpe.d/check_users.cfg]: Skipping because of failed dependencies
Warning: /Stage[main]/Nrpe::Service/Service[nrpe]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.06 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:35
|
spec/acceptance/nrpe_command_spec.rb#L38
nrpe::command class Scenario: purge_commands Command "ls /etc/nrpe.d/*.cfg | wc -l" stdout is expected to match "1"
Failure/Error: its(:stdout) { is_expected.to match('1') }
expected "0\n" to match "1"
Diff:
@@ -1 +1 @@
-1
+0
|
spec/spec_helper_acceptance.rb#L10
nrpe::command class Scenario: check_dummy applies with no errors
Failure/Error: apply_manifest("package { '#{nrpe_plugin_package}': ensure => present }", catch_failures: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123431659.pp.PxSyAa
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1695472474'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
Error: /Stage[main]/Main/Package[nagios-plugins-nrpe]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
�[mNotice: Applied catalog in 0.65 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:47
|
spec/spec_helper_acceptance.rb#L14
nrpe::command class Scenario: check_dummy applies a second time without changes
Failure/Error: apply_manifest("package { '#{nrpe_plugin_package}': ensure => present }", catch_failures: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123434921.pp.CBUBrP
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1695472477'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
Error: /Stage[main]/Main/Package[nagios-plugins-nrpe]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
�[mNotice: Applied catalog in 0.65 seconds
Shared Example Group: "an idempotent resource" called from ./spec/spec_helper_acceptance.rb:25
Shared Example Group: "the example" called from ./spec/acceptance/nrpe_command_spec.rb:47
|
spec/acceptance/nrpe_command_spec.rb#L50
nrpe::command class Scenario: check_dummy Command "/usr/lib64/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_dummy" exit_status
Failure/Error: apply_manifest("package { '#{nrpe_plugin_package}': ensure => present }", catch_failures: true)
Beaker::Host::CommandFailure:
Host 'oracle7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123438050.pp.KxSpzc
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for oracle7-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1695472480'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
Error: /Stage[main]/Main/Package[nagios-plugins-nrpe]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install nagios-plugins-nrpe' returned 1: Error: Nothing to do
�[mNotice: Applied catalog in 0.67 seconds
|
The logs for this run have expired and are no longer available.
Loading