Open olipinski opened 1 year ago
latest
3005.1
pillar a:
docker: networks: - a
pillar b:
docker: networks: - b
Currently, due to the ways that pillars are merged (https://github.com/saltstack/salt/issues/28394, https://github.com/saltstack-formulas/zabbix-formula/issues/60), one of the networks will get overwritten, resulting in the config passed to the formula as
Instead of
docker: networks: - a - b
Attempt to apply the formula with pillars as above.
Passed config is:
Bug can be fixed easily by using dicts instead. Defining the pillars as:
docker: networks: a:
docker: networks: b:
gives the correct config passed with
docker: networks: a: b:
Your setup
Formula commit hash / release tag
latest
Versions reports (master & minion)
3005.1
Pillar / config used
pillar a:
pillar b:
Bug details
Describe the bug
Currently, due to the ways that pillars are merged (https://github.com/saltstack/salt/issues/28394, https://github.com/saltstack-formulas/zabbix-formula/issues/60), one of the networks will get overwritten, resulting in the config passed to the formula as
Instead of
Steps to reproduce the bug
Attempt to apply the formula with pillars as above.
Expected behaviour
Passed config is:
Attempts to fix the bug
Bug can be fixed easily by using dicts instead. Defining the pillars as:
pillar a:
pillar b:
gives the correct config passed with