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-1102) Send only changed reports #187

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

coreymbe
Copy link
Contributor

Summary

A commonly requested feature for this module is the ability to send only reports that contain changes. This commit adds the ability to configure this type of functionality.

Detailed Description

  • Adding the new boolean parameter splunk_hec::only_changes to init.pp.
  • When configured adding the setting to splunk_hec.yaml.
    • Adding logic to lib/puppet/reports/splunk_hec.rb preventing report processing when the report status has not changed.
  • Updated Customized Reporting section in the README.

Checklist

[X] Ensure README is updated
[X] Any changes to existing documentation
[X] Anything new added
[X] Link to external Puppet documentation
[ ] Review Support Playbook for any needed updates
[ ] Unit Tests
[X] PR title is "(Ticket|Maint) Short Description"
[X] Commit title matches PR title

@coreymbe coreymbe requested a review from a team as a code owner April 21, 2022 00:03
@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 579 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.

@coreymbe coreymbe force-pushed the PIE-1102-report_status_filtering branch from b4ec59b to f7c2691 Compare April 21, 2022 00:07
@coreymbe coreymbe force-pushed the PIE-1102-report_status_filtering branch from f7c2691 to 876272e Compare April 21, 2022 18:00
@gsparks gsparks merged commit bc8c2d4 into puppetlabs:main Apr 21, 2022
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.

2 participants