mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Deprecate env
usage in favor of saltenv
.
This commit is contained in:
parent
705a498c7c
commit
f3e761cd82
@ -8,7 +8,7 @@ import salt.utils.templates
|
|||||||
|
|
||||||
|
|
||||||
def render(template_file,
|
def render(template_file,
|
||||||
env='',
|
saltenv='base',
|
||||||
sls='',
|
sls='',
|
||||||
argline='',
|
argline='',
|
||||||
context=None,
|
context=None,
|
||||||
@ -23,7 +23,7 @@ def render(template_file,
|
|||||||
grains=__grains__,
|
grains=__grains__,
|
||||||
opts=__opts__,
|
opts=__opts__,
|
||||||
pillar=__pillar__,
|
pillar=__pillar__,
|
||||||
env=env,
|
saltenv=saltenv,
|
||||||
sls=sls,
|
sls=sls,
|
||||||
context=context,
|
context=context,
|
||||||
**kws)
|
**kws)
|
||||||
|
Loading…
Reference in New Issue
Block a user