Skip to content

Commit

Permalink
Merge pull request #31901 from rallytime/bp-31846
Browse files Browse the repository at this point in the history
Back-port #31846 to 2015.8
  • Loading branch information
cro committed Mar 15, 2016
2 parents 37f1ce9 + 1edd6ce commit 7428c73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salt/minion.py
Expand Up @@ -1379,7 +1379,9 @@ def module_refresh(self, force_refresh=False, notify=False):
# in the setup process, but we can't load grains for proxies until
# we talk to the device we are proxying for. So force a grains
# sync here.
self.functions['saltutil.sync_grains'](saltenv='base')
# Hmm...We can't seem to sync grains here, makes the event bus go nuts
# leaving this commented to remind future me that this is not a good idea here.
# self.functions['saltutil.sync_grains'](saltenv='base')
else:
self.functions, self.returners, _ = self._load_modules(force_refresh, notify=notify)

Expand Down

0 comments on commit 7428c73

Please sign in to comment.