saltstack/salt — pull request #2584 by UtahDave (2012-11-16 17:13:15+00:00)
Title: Fixes #2583 Remove check for configs. Only check for libraries

Fixes #2583
the __virtual__ function was checking for the existence of configs
in __opts__ and __pillar__. The virtual function doesn't have
access to config.option and so couldn't see the configs that existed
on the master.

Just check for the libraries now.