diff --git a/salt/files/minion.d/f_defaults.conf b/salt/files/minion.d/f_defaults.conf index b190459..6877c9d 100644 --- a/salt/files/minion.d/f_defaults.conf +++ b/salt/files/minion.d/f_defaults.conf @@ -1255,6 +1255,13 @@ 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 string %} {{ configname }}: {{ cfg_minion[configname]|json }} + {%- elif cfg_minion[configname] is iterable %} +{{ configname }}: + {%- for item in cfg_minion[configname] %} + - {{ item }} + {%- endfor -%} + {%- endif %} {%- endif %} {%- endfor %}