Closed coreymbe closed 10 months ago
This commit resolves a bug in fact collection where the following warning is falsely logged:
2023-07-11T19:16:48.368Z WARN [qtp255490452-712] [puppetserver] Puppet Rescued required facts - Please remove the following facts from splunk_hec::facts_blocklist: []
This is a result of rescued_facts checking for a nil value as opposed to an empty array.
rescued_facts
CHANGELOG.md
lib/puppet/indirector/facts/splunk_hec.rb
[X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title
Summary
This commit resolves a bug in fact collection where the following warning is falsely logged:
This is a result of
rescued_facts
checking for a nil value as opposed to an empty array.Detailed Description
CHANGELOG.md
lib/puppet/indirector/facts/splunk_hec.rb
to check for an empty array.Checklist
[X] PR title is "(Ticket|Maint) Short Description" [X] Commit title matches PR title