0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-01-22 04:53:36 +01:00

Merge pull request #387 from M2Mobi/extra_config_mapping

Fix support for extra config values as mappings
This commit is contained in:
Niels Abspoel 2018-12-19 20:40:51 +01:00 committed by GitHub
commit b13bc6d461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 }}