salt-windows-msi icon indicating copy to clipboard operation
salt-windows-msi copied to clipboard

Ensure config precedence is correct

Open twangboy opened this issue 3 years ago • 2 comments

minion_id overridden by minion config file overridden by config in minion.d <==== Not sure about this one

twangboy avatar Oct 08 '21 18:10 twangboy

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

marbx avatar Nov 03 '21 20:11 marbx

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

marbx avatar Nov 03 '21 20:11 marbx