mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fix for #2567
This commit is contained in:
parent
974b5a8095
commit
7845954ec9
@ -70,6 +70,7 @@ class Pillar(object):
|
||||
self.opts = self.__gen_opts(opts, grains, id_, env)
|
||||
self.client = salt.fileclient.get_file_client(self.opts)
|
||||
if opts.get('file_client', '') == 'local':
|
||||
opts['grains'] = grains
|
||||
self.functions = salt.loader.minion_mods(opts)
|
||||
else:
|
||||
self.functions = salt.loader.minion_mods(self.opts)
|
||||
|
Loading…
Reference in New Issue
Block a user