From ffca1d68c3ba53999cc13424ddf80886e4fdc870 Mon Sep 17 00:00:00 2001 From: vveliev Date: Wed, 4 Jan 2023 17:57:36 -0500 Subject: [PATCH] fix: post-map.jinja path update --- TEMPLATE/libs/map.jinja | 2 +- docs/map.jinja.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TEMPLATE/libs/map.jinja b/TEMPLATE/libs/map.jinja index 76f2211e..9d43b290 100644 --- a/TEMPLATE/libs/map.jinja +++ b/TEMPLATE/libs/map.jinja @@ -63,4 +63,4 @@ {#- Per formula post-processing of `mapdata` if it exists #} {%- do salt["log.debug"]("map.jinja: post-processing of 'mapdata'") %} -{%- include tplroot ~ "/libs/post-map.jinja" ignore missing %} +{%- include tplroot ~ "/parameters/post-map.jinja" ignore missing %} diff --git a/docs/map.jinja.rst b/docs/map.jinja.rst index 86f22283..f654c5d8 100644 --- a/docs/map.jinja.rst +++ b/docs/map.jinja.rst @@ -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://{{ tplroot }}/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 }}/parameters/post-map.jinja`` Jinja file if it exists which can post-process the ``mapdata`` variable. Configuring ``map.jinja`` sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~