salt-windows-msi
salt-windows-msi copied to clipboard
Ensure config precedence is correct
minion_id
overridden by minion
config file
overridden by config in minion.d
<==== Not sure about this one
The minion_id
file is not yet tested and lacks a test case.
The only implementation detail is https://github.com/saltstack/salt-windows-msi/blob/6fd6566214d5a041b77bd67a77ca5af50d235324/tests/config_tests/test.ps1#L102
Precedence is defined by the order ReadConfig_IMCAC(Session session)
reads configuration
https://github.com/saltstack/salt-windows-msi/blob/6fd6566214d5a041b77bd67a77ca5af50d235324/CustomAction01/CustomAction01.cs#L20