mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
__proxy__ is getting nuked somewhere
This commit is contained in:
parent
f9461ff298
commit
81a4abfe5a
1 changed files with 0 additions and 4 deletions
|
@ -2524,10 +2524,6 @@ class ProxyMinion(Minion):
|
|||
# Then load the proxy module
|
||||
self.proxy = salt.loader.proxy(self.opts)
|
||||
|
||||
# Check config 'add_proxymodule_to_opts' Default to False in Boron
|
||||
if self.opts['add_proxymodule_to_opts']:
|
||||
self.opts['proxymodule'] = self.proxy
|
||||
|
||||
# And re-load the modules so the __proxy__ variable gets injected
|
||||
self.functions, self.returners, self.function_errors = self._load_modules(proxy=self.proxy)
|
||||
self.functions.pack['__proxy__'] = self.proxy
|
||||
|
|
Loading…
Add table
Reference in a new issue