mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Force a grains sync after we load the proxy's grains.
This commit is contained in:
parent
5ecf85017b
commit
144fea02e5
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue