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

forwarder::pkg_provider should default to $splunk::params::pkg_provider #29

Merged
merged 1 commit into from
Apr 6, 2016

Conversation

hunner
Copy link
Member

@hunner hunner commented Feb 25, 2016

Closes #21

@hunner
Copy link
Member Author

hunner commented Feb 25, 2016

This is backwards-incompatible

@hunner
Copy link
Member Author

hunner commented Mar 10, 2016

The base class defaults to using $splunk::params::pkg_provider as the chosen package provider but the splunk::forwarder define defaults to undef for the provider. This commit now syncronizes the behavior to be consistent between both items.

@hunner
Copy link
Member Author

hunner commented Mar 10, 2016

@asquelt @kyledecot Does this look appropriate to you? Would this be considered a "bug fix" because the behavior of the module was inconsistent? (re #21)

@@ -54,7 +54,7 @@
$splunkd_listen = '127.0.0.1',
$purge_inputs = false,
$purge_outputs = false,
$pkg_provider = undef,
$pkg_provider = $splunk::pkg_provider,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be $splunk::params::pkg_provider, right? Once this is fixed it should be ready to merge. I encountered this issue as well. The temporary fix is explicitly setting pkg_provider the the splunk::forwarder class to 'rpm' so when this is merged users can expect to see that as the default.

@discreet
Copy link

discreet commented Apr 4, 2016

I've had to change the code to implement this fix. Will this be updated and merged soon? Seems like it just needs a very simple minor change to the PR.

@hunner
Copy link
Member Author

hunner commented Apr 6, 2016

Updated, and calling this a bugfix instead of backwards-incompatible feature as the intent (as shown in the base class) is to follow splunk::params::pkg_provider and this failed to follow the original intent.

@bmjen bmjen merged commit 1684609 into voxpupuli:master Apr 6, 2016
@hunner hunner deleted the barrypitman branch April 6, 2016 20:59
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.

5 participants