Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIE-412 Add disabling splunk_hec feature #120

Merged

Conversation

nam054
Copy link
Contributor

@nam054 nam054 commented Jun 8, 2021

Added new parameter 'disabled' that can be set to disable sending
reports. Default is set to false, meaning it will always run the report
processor (setting to true will disable sending reports).

Added unit testing for the new feature in misc_spec.rb and init_spec.rb
Created splunk_hec_spec_helpers.rb for unit test helper functions.

Summary

Detailed Description

Checklist

[ ] Draft PR?
[ ] Ensure README is updated
[ ] Any changes to existing documentation
[ ] Anything new added
[ ] Link to external Puppet documentation
[ ] Tags
[ ] Unit Tests
[ ] Acceptance Tests
[ ] PR title is "(Ticket|Maint) Short Description"
[ ] Commit title matches PR title

@puppet-community-rangefinder
Copy link

splunk_hec is a class

that may have no external impact to Forge modules.

This module is declared in 2 of 576 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@nam054 nam054 marked this pull request as ready for review June 8, 2021 21:13
@nam054 nam054 requested a review from a team as a code owner June 8, 2021 21:13
bmjen
bmjen previously approved these changes Jun 10, 2021
@nam054 nam054 force-pushed the PIE-412-add-splunk-hec-disable-feature branch 2 times, most recently from 7c56d58 to 2e9637b Compare June 10, 2021 20:57
@nam054 nam054 force-pushed the PIE-412-add-splunk-hec-disable-feature branch from 2e9637b to 38e6ea3 Compare June 10, 2021 21:57
gsparks
gsparks previously approved these changes Jun 10, 2021
@nam054 nam054 force-pushed the PIE-412-add-splunk-hec-disable-feature branch 2 times, most recently from 9d2b5ca to 1c84e16 Compare June 14, 2021 17:34
Added new parameter 'disabled' that can be set to disable sending
reports. Default is set to false, meaning it will always run the report
processor (setting to true will disable sending reports).

Added unit testing for the new feature in misc_spec.rb and init_spec.rb
Created splunk_hec_spec_helpers.rb for unit test helper functions.
@nam054 nam054 force-pushed the PIE-412-add-splunk-hec-disable-feature branch from 1c84e16 to 2764f7b Compare June 14, 2021 18:52
@RandomNoun7 RandomNoun7 merged commit 7f04b3a into puppetlabs:main Jun 15, 2021
@nam054 nam054 deleted the PIE-412-add-splunk-hec-disable-feature branch June 15, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants