mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Properly hand proxy minions
The proxy argument to salt.loader.grains expects a reference to a salt.loader.proxy loader instance, not a bool. Thanks @cro!
This commit is contained in:
parent
692c456da3
commit
7e0ced3b45
1 changed files with 1 additions and 1 deletions
|
@ -1692,7 +1692,7 @@ class Minion(MinionBase):
|
|||
self.opts['grains'] = salt.loader.grains(
|
||||
self.opts,
|
||||
force_refresh=True,
|
||||
proxy=salt.utils.is_proxy())
|
||||
proxy=getattr(self, 'proxy', None))
|
||||
|
||||
def module_refresh(self, force_refresh=False, notify=False):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue