mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Restore grains context to renderers
We were missing the proper grains dictionary in the renderer context. This restores it. Closes #33614
This commit is contained in:
parent
b379dc57fd
commit
4e18ff7000
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ def render(template_file, saltenv='base', sls='', argline='',
|
|||
tmp_data = salt.utils.templates.JINJA(template_file,
|
||||
to_str=True,
|
||||
salt=_split_module_dicts(),
|
||||
grains=__grains__,
|
||||
grains=__opts__['grains'],
|
||||
opts=__opts__,
|
||||
pillar=__pillar__,
|
||||
saltenv=saltenv,
|
||||
|
|
Loading…
Add table
Reference in a new issue