Revert "Reload grains with modules for states"

This commit is contained in:
Thomas S Hatch 2014-08-21 14:49:25 -06:00
parent 899997e3d5
commit 5970b4c529

View File

@ -675,7 +675,6 @@ class State(object):
Load the modules into the state
'''
log.info('Loading fresh modules for state activity')
self.opts['grains'] = salt.loader.grains(self.opts)
self.functions = salt.loader.minion_mods(self.opts, self.state_con)
if isinstance(data, dict):
if data.get('provider', False):