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

Ensure facter doesn't stuck in interactive session while retrieving splunk forwarder version #320

Merged
merged 1 commit into from
Sep 17, 2021

Conversation

mvandegarde
Copy link

This prevents facter from getting stuck in an interactive session.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

Thanks! Please update the test suite accordingly 😉

@mvandegarde
Copy link
Author

Thanks! Please update the test suite accordingly 😉

Should be ok now. Unfortunately I can't verify if this works the same on the windows binary, or on the regular splunk_binary. I'd be happy to do the same there but i can't even find the parameters i'm adding right now in the splunk forwarder documentation, i've only tested & confirmed that they do work.

@mvandegarde mvandegarde requested a review from smortex September 16, 2021 07:45
Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

Ah… we do not have CI for windows so who knows 🤷. Maybe windows users will send a PR to fix windows support if it broke and we will issue a new patch release then, so probably not a big issue.

Can you please combine your commits in a single one?

From your working directory:

git rebase -i origin/master # Interactively rewrite history

This will bring your editor. Keep the first line unchanged, and replace pick with squash for all subsequent lines. Save and quit, your editor will allow you to combine the commit messages in a single commit message.

Then push your updated branch:

git push -f            # Send the changes (-f is required because we re-wrote history)

Thanks!

This prevents facter from getting stuck in an interactive session
@smortex smortex merged commit d8bac93 into voxpupuli:master Sep 17, 2021
@root-expert root-expert added the bug Something isn't working label Jul 3, 2022
@root-expert root-expert changed the title Safer version check Ensure facter doesn't stuck in interactive session while retrieving splunk forwarder version Jul 3, 2022
@root-expert
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants