mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Revert "Reload grains with modules for states"
This commit is contained in:
parent
899997e3d5
commit
5970b4c529
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user