Clarify py render docs when data context is available

This commit is contained in:
Ch3LL 2018-12-12 10:31:57 -05:00
parent 32dfabab50
commit a873019a57
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -47,8 +47,8 @@ execution functions, grains, pillar, etc. They are:
``/srv/salt/foo/bar/baz.sls``, then ``__sls__`` in that file will be
``foo.bar.baz``.
The global context ``data`` (same as context ``{{ data }}`` for states written
with Jinja + YAML). The following YAML + Jinja state declaration:
When writing a reactor SLS file the global context ``data`` (same as context ``{{ data }}``
for states written with Jinja + YAML) is available. The following YAML + Jinja state declaration:
.. code-block:: jinja