Fix syntax error in jinja context examples

Bad indentation meant it would pass in the pieces of context as part of
the **kwargs, rather than as part of the context kwarg.
This commit is contained in:
Colton Myers 2013-05-21 13:42:00 -06:00
parent 0c8e0fc569
commit 5971b0e8a8

View file

@ -67,10 +67,10 @@ template, using the ``defaults`` and ``context`` mappings of the
- source: salt://motd
- template: jinja
- defaults:
message: 'Foo'
message: 'Foo'
{% if grains['os'] == 'FreeBSD' %}
- context:
message: 'Bar'
message: 'Bar'
{% endif %}
The template will receive a variable ``message``, which would be accessed in the