Directories requiring write access by the minion process need to be configurable. Specifically the salt user's home directory and the extras-3.10 (extras-3.14) directory.
We might need to expand on this for the implementation:
- RPM: /etc/sysconfig/salt-minion-setup — sourced by pkg/rpm/salt.spec (lines 477, 629, 810). Pre-create this file with SALT_USER=... etc. and rpm will pick it up at install time.
- DEB: there's no equivalent file. pkg/debian/salt-master.preinst:17 (and the other preinst scripts) only honor environment variables — SALT_USER, SALT_GROUP, SALT_HOME, SALT_NAME. So you have to export SALT_USER=foo before apt install, or pre-set them in the shell
Version: 3006.24
Directories requiring write access by the minion process need to be configurable. Specifically the salt user's home directory and the extras-3.10 (extras-3.14) directory.
We might need to expand on this for the implementation:
Version: 3006.24