Open veym4os opened 4 years ago
Okay so I can reproduce this, and based on the output it seems like a simple logic error when using pillar and keys. Thanks for submitting.
Can't reproduce with
Salt Version: Salt: 3006.0
Python Version: Python: 3.6.15 (default, Sep 23 2021, 15:41:43) [GCC]
Dependency Versions: cffi: 1.13.2 cherrypy: Not Installed dateutil: Not Installed docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 2.10.1 libgit2: Not Installed looseversion: 1.0.2 M2Crypto: 0.38.0 Mako: Not Installed msgpack: 0.5.6 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 21.3 pycparser: 2.17 pycrypto: Not Installed pycryptodome: Not Installed pygit2: Not Installed python-gnupg: Not Installed PyYAML: 5.4.1 PyZMQ: 17.1.2 relenv: Not Installed smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.2.3
Description
When using include statements with and without specified "key" property in the same file, an include without key can get the value of another include item. This happens only, if the include key is set after an include without key.
Steps to reproduce
Only pillar required:
Expected output:
Observed output:
I have also tried to manually overwrite the key for the first include with the following options. This had no effect:
Changing the input order leads to the expected result:
Versions Report