Issue #383: Add ensure and enable parameter for forwarder service #207
Annotations
10 errors
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L26
splunk::forwarder class Splunk forwarder version 7.2.4.2 works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153811583.jOSR3s.pp
Last 10 lines of output were:
Info: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[defaultgroup_server]: Scheduling refresh of Class[Splunk::Forwarder::Service]
Info: Class[Splunk::Forwarder::Config]: Scheduling refresh of Class[Splunk::Forwarder::Service]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]/returns: executed successfully
Info: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]: Scheduling refresh of Exec[enable_splunkforwarder]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Triggered 'refresh' from 1 event
Info: Class[Splunk::Forwarder::Service]: Scheduling refresh of Service[SplunkForwarder]
Error: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Provider redhat is not functional on this host
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 3.48 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L45
splunk::forwarder class Splunk forwarder version 7.2.4.2 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#L26
splunk::forwarder class Splunk forwarder version 9.0.0 works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153821230.gCbcma.pp
Last 10 lines of output were:
Info: /Stage[main]/Splunk::Forwarder::Config/Splunkforwarder_output[defaultgroup_server]: Scheduling refresh of Class[Splunk::Forwarder::Service]
Info: Class[Splunk::Forwarder::Config]: Scheduling refresh of Class[Splunk::Forwarder::Service]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]/returns: executed successfully
Info: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]: Scheduling refresh of Exec[enable_splunkforwarder]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Triggered 'refresh' from 1 event
Info: Class[Splunk::Forwarder::Service]: Scheduling refresh of Service[SplunkForwarder]
Error: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Provider redhat is not functional on this host
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 3.89 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L45
splunk::forwarder class Splunk forwarder version 9.0.0 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#L52
splunk::forwarder class default parameters works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153831263.nUqK1i.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]/returns: executed successfully
Info: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[stop_splunkforwarder]: Scheduling refresh of Exec[enable_splunkforwarder]
�[mNotice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[enable_splunkforwarder]: Triggered 'refresh' from 1 event
�[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]: Scheduling refresh of Service[SplunkForwarder]
Error: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Provider redhat is not functional on this host
Info: Class[Splunk::Forwarder]: Unscheduling all events on Class[Splunk::Forwarder]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 3.25 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L72
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#L81
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#L87
splunk::forwarder class stopped works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153836788.dkdtXK.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1733931518'
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Error: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Provider redhat is not functional on this host
�[mNotice: Applied catalog in 0.04 seconds
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L107
splunk::forwarder class stopped Service "SplunkForwarder" is expected to be stopped
Failure/Error: it { is_expected.to be_stopped }
expected Service "SplunkForwarder" to respond to `stopped?`
|
Run tests:
spec/acceptance/splunk_forwarder_spec.rb#L113
splunk::forwarder class purging purge_outputs => false works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153838900.icH0J9.pp
Last 10 lines of output were:
Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other'
�[mNotice: Compiled catalog for ubuntu2204-64-puppet7.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1733931520'
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Warning: Secrets file NOT found in /opt/splunkforwarder/etc/auth/splunk.secret
Error: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]: Provider redhat is not functional on this host
�[mNotice: Applied catalog in 0.04 seconds
|
Loading