mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Force a grains sync after we load the proxy's grains.
This commit is contained in:
parent
5ecf85017b
commit
144fea02e5
@ -2591,7 +2591,8 @@ class ProxyMinion(Minion):
|
||||
|
||||
proxy_init_fn = self.proxy[fq_proxyname+'.init']
|
||||
proxy_init_fn(self.opts)
|
||||
self.opts['grains'] = salt.loader.grains(self.opts)
|
||||
self.opts['grains'] = salt.loader.grains(self.opts, force_refresh=True)
|
||||
self.functions['saltutil.sync_grains'](saltenv='base')
|
||||
|
||||
# Check config 'add_proxymodule_to_opts' Remove this in Boron.
|
||||
if self.opts['add_proxymodule_to_opts']:
|
||||
|
Loading…
Reference in New Issue
Block a user