fixed a bug in match_index_versions where success was returned even if 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.
fixed a bug in match_index_versions where success was returned even if 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.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt