mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
35c8333d04
1 changed files with 2 additions and 6 deletions
|
@ -2765,12 +2765,8 @@ class BaseHighState(object):
|
|||
'''
|
||||
if not self.opts['autoload_dynamic_modules']:
|
||||
return
|
||||
if self.opts.get('local', False):
|
||||
syncd = self.state.functions['saltutil.sync_all'](list(matches),
|
||||
refresh=False)
|
||||
else:
|
||||
syncd = self.state.functions['saltutil.sync_all'](list(matches),
|
||||
refresh=False)
|
||||
syncd = self.state.functions['saltutil.sync_all'](list(matches),
|
||||
refresh=False)
|
||||
if syncd['grains']:
|
||||
self.opts['grains'] = salt.loader.grains(self.opts)
|
||||
self.state.opts['pillar'] = self.state._gather_pillar()
|
||||
|
|
Loading…
Add table
Reference in a new issue