saltstack/salt — pull request #319 by jglazner (2011-12-05 20:20:36+00:00)
Title: Added optional 'host' parameter

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.