mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #32212 from rallytime/bp-32197
Back-port #32197 to 2015.8
This commit is contained in:
commit
ab8b70d985
1 changed files with 12 additions and 0 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue