saltstack/salt — pull request #393 by mb0 (2011-12-24 00:19:19+00:00)
Title: Template loader for json_jinja and yaml_jinja renderers

jinja's extend and include features are very powerful and allow for external templates and macros.
for this feature replaces puppet defines.

look at the commits for usage examples

it would probably be better to extract the template setup code and the custom filter.
and i am willing to change that.