2
0

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 %}
{%- 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 }}:
{%- for item in cfg_minion[configname] %}
- {{ item }}