W3cubDocs

/SaltStack

salt.renderers.mako

Mako Renderer for Salt

salt.renderers.mako.render(template_file, saltenv='base', sls='', context=None, tmplpath=None, **kws)

Render the template_file, passing the functions and grains into the Mako rendering system.

Return type: string

© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/renderers/all/salt.renderers.mako.html