Skip to content

Added optional 'host' parameter #319

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

Merged
merged 3 commits into from
Dec 8, 2011
Merged

Conversation

jglazner
Copy link
Contributor

@jglazner jglazner commented Dec 5, 2011

Since solr uses alot of http api, it didn't really make sense to ALWAYS limit api calls to the local configured instance. So I added the optional 'host' parameter which if passed to slave or master only methods ignores the constraint. If it's not passed however, then the check will be performed.

Also fixed a bug in the match_index_versions method, where there was no else condition if the call to replication_status failed.

…f the the root call failed, added optional host parameter to all relevent api calls and changed the master/slave required methods only check if the host param is empty.
@thatch45 thatch45 merged commit 12b8ea5 into saltstack:develop Dec 8, 2011
@thatch45
Copy link
Contributor

thatch45 commented Dec 8, 2011

This is fantastic support for solr, and an amazing asset for Salt. Some of the recent formatting in the docstrings made by whitinge to clean up the rendered documentation did not make it in, please take a look at the docstrings when you have some time to verify that my merge changes did not break any of the documentation

@jglazner
Copy link
Contributor Author

jglazner commented Dec 8, 2011

Thanks, I'll take a look at those, if whitinge didn't beat me to it it. I see he has a pull request already this morning.

arthurzenika pushed a commit to arthurzenika/salt that referenced this pull request Sep 17, 2013
--hard must be explicitly enbled
dwoz pushed a commit to dwoz/salt that referenced this pull request Jun 21, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
[3003.5] Fix bug in tcp transport
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.

None yet

2 participants