Deprecate env usage in favor of saltenv.

This commit is contained in:
Pedro Algarvio 2013-11-10 19:24:18 +00:00
parent 705a498c7c
commit f3e761cd82

View File

@ -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)