Merge pull request #32212 from rallytime/bp-32197

Back-port #32197 to 2015.8
This commit is contained in:
Nicole Thomas 2016-03-29 09:50:58 -06:00
commit ab8b70d985

View file

@ -92,3 +92,15 @@ include option.
.. code-block:: jinja
{{ sls }}
slspath
=======
The `slspath` variable contains the path to the current sls file. The value
of `slspath` in files referenced in the current sls depends on the reference
method. For jinja includes `slspath` is the path to the current file. For
salt includes `slspath` is the path to the included file.
.. code-block:: jinja
{{ slspath }}