saltstack/salt — Issue #696: reload states, grains, etc. during load_dynamic()
Author: ericsnowcurrently
Created: 2012-02-14 21:25:01+00:00
State: open

call_highstate() calls load_dynamic().
load_dynamic() calls saltutil.sync_all(), which pulls down all the extensions (/_grains, /_states, etc.).
load_dynamic() then calls State.module_refresh(), which only reloads the modules.

It would be a big help if load_dynamic could make sure all the extensions were reloaded and not just the modules.