mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +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
d2e26c38ca
commit
a8cded1c83
@ -67,9 +67,11 @@ class SaltCacheLoader(BaseLoader):
|
||||
else:
|
||||
self.searchpath = [os.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…
Reference in New Issue
Block a user