mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-05 14:57:18 +02:00
fix(master): master.d template to support saltclass ext_pillar
This commit is contained in:
1 parent
ddd5a0cc50
commit
5b7d7ea70e
29 files changed
+60
No files matched your search
@@ -1207,12 +1207,16 @@ ext_pillar:
|
||||
{%- for parameter in pillar[key] %}
|
||||
{%- if parameter is iterable and parameter is not string %}
|
||||
{%- for param, children in parameter.items() %}
|
||||
{%- if children is string %}
|
||||
- {{ param }}: {{ children }}
|
||||
{%- else %}
|
||||
- {{ param }}:
|
||||
{%- for child in children %}
|
||||
{%- for key, value in child.items() %}
|
||||
- {{ key }}: {{ value }}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- else %}
|
||||
- {{ parameter }}
|
||||
|
||||
Reference in new issue
Block a user