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 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190330455.pp.aflePe
Last 10 lines of output were:
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Dependency Exec[enable_splunkforwarder] has failures: true
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder::Service::Nix]: Unscheduling all events on Class[Splunk::Forwarder::Service::Nix]
�[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 2.64 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 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190335159.pp.0C3A6q
Last 10 lines of output were:
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Failed to call refresh: '/opt/splunkforwarder/bin/splunk enable boot-start -user splunk -systemd-managed 1 --accept-license --answer-yes --no-prompt' returned 4 instead of one of [0]
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: '/opt/splunkforwarder/bin/splunk enable boot-start -user splunk -systemd-managed 1 --accept-license --answer-yes --no-prompt' returned 4 instead of one of [0]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Dependency Exec[enable_splunkforwarder] has failures: true
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
Info: Class[Splunk::Forwarder::Service::Nix]: Unscheduling all events on Class[Splunk::Forwarder::Service::Nix]
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.31 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 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_190337457.pp.PntmIx
Last 10 lines of output were:
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Failed to call refresh: '/opt/splunkforwarder/bin/splunk enable boot-start -user splunk -systemd-managed 1 --accept-license --answer-yes --no-prompt' returned 4 instead of one of [0]
Error: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: '/opt/splunkforwarder/bin/splunk enable boot-start -user splunk -systemd-managed 1 --accept-license --answer-yes --no-prompt' returned 4 instead of one of [0]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Dependency Exec[enable_splunkforwarder] has failures: true
Info: Class[Splunk::Forwarder::Service::Nix]: Unscheduling all events on Class[Splunk::Forwarder::Service::Nix]
Info: Class[Splunk::Forwarder::Service]: Unscheduling all events on Class[Splunk::Forwarder::Service]
Warning: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Skipping because of failed dependencies
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.31 seconds
|
Run tests
Process completed with exit code 1.
|
Loading