feat(matchers): add delimiter option for source definitions

This commit is contained in:
Daniel Dehennin committed 2021-01-11 17:47:11 +01:00
1 parent 925c86ea69
commit d69556d5ae
3 files changed
+70 -10

No files matched your search

+1
View File
@@ -118,6 +118,7 @@
{#- - type: `F` to load file, `C`, `G`, `I` for lookup #}
{#- - option: specific to the type #}
{#- - query: which key is requested #}
{#- - query_delimiter: the separator between query component #}
{#- - query_method: the salt method doing the query `config.get`, `pillar.get` and `grains.get` #}
{#- - value: the result of the `salt[<query_method>](<query>)` #}
{%- set map_matchers = parse_matchers(