saltstack/salt — pull request #15949 by whiteinge (2014-09-18 23:14:46+00:00)
Title: Also return the requisites from check_requisite; add mod_watch support to states.test

I'd like to be able to get at the actual returns for watched states from a ``mod_watch`` function but we don't have enough detail in ``__low__`` to look them up in ``__running__`` (at least not without repeating the ``check_requisite`` work to get the full tag). Since we're already doing that work, how about we pass it through instead? The ``reqs`` dictionary is crazy cool, I can see this being useful in other places as well.

@thatch45 thoughts?