Ensure compatibility with Splunk 9.2.0.1 and 9.0.0 #134
Annotations
7 errors
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L8
splunk::forwarder class default parameters works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190237847.pp.Zb4PF9
Last 10 lines of output were:
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Dependency Exec[stop_splunkforwarder] has failures: true
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Skipping because of failed dependencies
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
�[mNotice: /Stage[main]/Main/Splunkforwarder_output[tcpout:splunkcloud/sslPassword]/ensure: created
Info: /Stage[main]/Main/Splunkforwarder_output[tcpout:splunkcloud/sslPassword]: Scheduling refresh of Class[Splunk::Forwarder::Service]
Info: Class[Splunk::Forwarder::Service]: Unscheduling all events on Class[Splunk::Forwarder::Service]
Warning: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 1.73 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L28
splunk::forwarder class default parameters File "/opt/splunkforwarder/etc/system/local/outputs.conf" content is expected to match /^sslPassword = \$7\$/
Failure/Error: its(:content) { is_expected.to match %r{^sslPassword = \$7\$} }
expected "[default]\ndefaultGroup=splunk_9997\n\n[tcpout:splunk_9997]\nserver=splunk:9997\n\n[tcpout:splunkcloud]\nsslPassword=super_secure_password\n" to match /^sslPassword = \$7\$/
Diff:
@@ -1,8 +1,15 @@
-/^sslPassword = \$7\$/
+[default]
+defaultGroup=splunk_9997
+
+[tcpout:splunk_9997]
+server=splunk:9997
+
+[tcpout:splunkcloud]
+sslPassword=super_secure_password
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L43
splunk::forwarder class default parameters Service "SplunkForwarder" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "SplunkForwarder" to be enabled
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L44
splunk::forwarder class default parameters Service "SplunkForwarder" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "SplunkForwarder" to be running
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L50
splunk::forwarder class purging purge_outputs => false works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190242015.pp.5NevQg
Last 10 lines of output were:
Error: '/opt/splunkforwarder/bin/splunk stop' returned 1 instead of one of [0]
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]/returns: change from 'notrun' to ['0'] failed: '/opt/splunkforwarder/bin/splunk stop' returned 1 instead of one of [0]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Dependency Exec[stop_splunkforwarder] has failures: true
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Skipping because of failed dependencies
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder::Service]: Unscheduling all events on Class[Splunk::Forwarder::Service]
Warning: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 0.07 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L72
splunk::forwarder class purging purge_outputs => true works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190244463.pp.ymBkIL
Last 10 lines of output were:
Error: '/opt/splunkforwarder/bin/splunk stop' returned 1 instead of one of [0]
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]/returns: change from 'notrun' to ['0'] failed: '/opt/splunkforwarder/bin/splunk stop' returned 1 instead of one of [0]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Dependency Exec[stop_splunkforwarder] has failures: true
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Skipping because of failed dependencies
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder::Service]: Unscheduling all events on Class[Splunk::Forwarder::Service]
Warning: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 0.12 seconds
|
Run tests
Process completed with exit code 1.
|
Loading