saltstack/salt — pull request #17218 by SmithSamuelM (2014-11-06 00:19:59+00:00)
Title: Salt-call with local minion available now works with Raet and multi-master

If local host has an active minion then salt-call will work with raet and multiple masters.
Stability of muliti-master support for raet salt improved.
opt['random_master'] now supported. If the current master is down then a salt-call will use the a random master from the list
of available masters.

If opt['random_master'] is False then the master used by salt-call will be the first available in the order given by opts['master']

put the APPL_KINDS in utils/kinds.py to avoid circular import issues with tests etc