saltstack/salt — pull request #15011 by garethgreenaway (2014-08-15 03:15:18+00:00)
Title: Fixes to returners.

Fixing returners that use configuration options from config.options to work as returners for the salt schedulers. The __salt__ variable is unavailable when the returner is run from a scheduled job so we pull the configuration values out of __opts__ instead.