Here's how to accessing 'lookup plugins' from new-style 1.2 variable syntax

Before, looked a little bit like Perl to me:

before:

$ENV(HOME)

using Jinja2 function:

{{ lookup(‘env’,‘home’) }}

I can probabably extend things such that the following is possible, but it presently is not:

{{ env(‘home’) }}

Excerpts from Michael DeHaan's message of 2013-04-11 14:13:16 -0400:

Before, looked a little bit like Perl to me:

before:

$ENV(HOME)

using Jinja2 function:

{{ lookup('env','home') }}

I can probabably extend things such that the following is possible, but it
presently is not:

{{ env('home') }}

Can this syntax be used in jinja2 templates to access lookup plugins?

The lookup() function should be available to both.

I still need to work to make the proposed syntactic sugar (env, file, etc) available.