mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Instantiate the SaltCacheLoader's fileclient in the __init__
This fixes an edge case when orchestration attempts to compile pillar data before making any other fileclient requests.
This commit is contained in:
parent
f9a6c86e21
commit
9644579cd0
1 changed files with 3 additions and 1 deletions
|
@ -63,9 +63,11 @@ class SaltCacheLoader(BaseLoader):
|
|||
else:
|
||||
self.searchpath = [path.join(opts['cachedir'], 'files', saltenv)]
|
||||
log.debug('Jinja search path: %s', self.searchpath)
|
||||
self._file_client = None
|
||||
self.cached = []
|
||||
self.pillar_rend = pillar_rend
|
||||
self._file_client = None
|
||||
# Instantiate the fileclient
|
||||
self.file_client()
|
||||
|
||||
def file_client(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue