Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use the minion configured publish_port, not what is provided in auth …
…payload it seems the minion publish_port is not actually used anywhere, opting instead for the pubish port provided in the payload from the master. This, among other things, makes it impossible for any configuration where it _needs_ to be different. It seems this is done so that the master can rehome the publish port, without a minion reconfiguration. To keep this behavior, we only override the publish_port on the minion if it is explicitly set to something that is not the default (4506). I encountered this when doing docker based testing where a minion needs to connect over an ephemeral port, not matching what the server is running. Fixes saltstack#47857
- Loading branch information