0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 05:07:54 +01:00

Fix support for extra config values as mappings

This commit is contained in:
Heinz Wiesinger 2018-11-12 17:02:16 +01:00
parent ed9a1b1814
commit 549c73c739

View File

@ -1255,7 +1255,7 @@ alternative.mongo.{{ name }}: {{ value }}
{%- for configname in cfg_minion %} {%- for configname in cfg_minion %}
{%- if configname not in reserved_keys and configname not in default_keys %} {%- if configname not in reserved_keys and configname not in default_keys %}
{%- if cfg_minion[configname] is iterable and cfg_minion[configname] is not string %} {%- if cfg_minion[configname] is iterable and cfg_minion[configname] is not mapping and cfg_minion[configname] is not string %}
{{ configname }}: {{ configname }}:
{%- for item in cfg_minion[configname] %} {%- for item in cfg_minion[configname] %}
- {{ item }} - {{ item }}