Skip to content

Commit

Permalink
Merge pull request #244 from stasjok/fix-post-map-path
Browse files Browse the repository at this point in the history
docs(map.jinja): fix path to post-map.jinja in docs
  • Loading branch information
baby-gnu authored Feb 15, 2022
2 parents 080fdcd + d64cd75 commit 5f6262f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/map.jinja.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ The ``map.jinja`` file aggregates configuration values from several sources:

For the values loaded from YAML files, ``map.jinja`` will automatically try to load a Jinja2 template with the same name as the YAML file with the addition of the ``.jinja`` extension, for example ``foo/bar/quux.yaml.jinja``.

After loading values from all sources, it will try to include the ``salt://parameters/post-map.jinja`` Jinja file if it exists which can post-process the ``mapdata`` variable.
After loading values from all sources, it will try to include the ``salt://{{ tplroot }}/post-map.jinja`` Jinja file if it exists which can post-process the ``mapdata`` variable.

Configuring ``map.jinja`` sources
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 5f6262f

Please sign in to comment.