mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #12413 from jacksontj/job_cache
Make sure to pack the __pillar__ into the renderers
This commit is contained in:
commit
aa8cee3ce3
@ -321,7 +321,10 @@ def render(opts, functions, states=None):
|
||||
opts, 'renderers', 'render', ext_type_dirs='render_dirs'
|
||||
)
|
||||
pack = [{'name': '__salt__',
|
||||
'value': functions}]
|
||||
'value': functions},
|
||||
{'name': '__pillar__',
|
||||
'value': opts.get('pillar', {})}]
|
||||
|
||||
if states:
|
||||
pack.append({'name': '__states__', 'value': states})
|
||||
rend = LazyFilterLoader(load, 'render', pack=pack)
|
||||
|
Loading…
Reference in New Issue
Block a user