-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Fix config file location for splunkforwarder_deploymentclient, deployment client, and alert_actions. #144
Fix config file location for splunkforwarder_deploymentclient, deployment client, and alert_actions. #144
Conversation
Hey @treydock . Is the impact of this currently just now allowing the new types from working correctly? |
Without this changes the new types will write their configs to the wrong place. I only ran in noop mode before downgrading to my fork, but looked like all the new types thought they had to be applied when they already existed. So the new types are essentially broken without this change. |
Can we add any type of unit/acceptance test for this? |
…y are indeed broken.
@bastelfreak I added the unit tests for the types. I tested locally they do indeed fail then made my changes to verify the bug is fixed. Before merging this i want to ask @treydock if when i rebased his changes if i did one thing correctly. It looks like the splunkforwarder_deploymentclient and deploymentclient types are identical to each other. Is a mistake or intentional? I'm sure there is a reason i just want to understand :). |
@TraGicCode The duplication was intentional. The reason is to be able to have one go to a Splunk server and one go to a forwarder, which is dictated by the tag. The other reason is that the filesystem path for the forwarder's config is different. The
|
Thanks for clearing this up! @bastelfreak you can finish up your review from my added unit tests. |
thanks for the contribution! |
This should fix new types/providers to work with this commit: 54ece81