I’m attempting to modify the Salt configuration in R4.1. My understanding is that /etc/salt/master is the place to do that, but the changes I make don’t seem to have any effect.
Specifically, I’m attempting to silence the following warning:
# dom0
sudo qubesctl state.apply
# [WARNING] top_file merging strategy is set to 'merge' and multiple top files were found. Merging order in not deterministic, it may be desirable to either set top_file_merging_strategy to 'same' or use the 'env_order' configuration parameter to specify the merging order.
I’ve tried without success at removing the warning:
Creating `/etc/salt/master.d/user.conf as follows:
I thought Salt ran in masterless mode in dom0. I can’t find the keyword “masterless” in the Qubes Salt documentation. But it does say that qubesctlreplacessalt-call --local. The --local flag makes salt-calloperate in masterless mode.
What happens if you update the same configuration key in /etc/salt/minion.d/f_defaults.conf?
Your reasoning made sense, and indeed that was the right place to add the config. Until you said it, it didn’t even cross my mind that the master file could not be adequate for Salt in masterless mode. Great insight!
I ended up creating a new file for ease of tracking modifications: