mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 01:30:20 +00:00

The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `LIB_STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes #3396 Bug-Debian: https://bugs.debian.org/698898 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
5 lines
320 B
Text
5 lines
320 B
Text
Introduce a `LIB_STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`,
|
|
but can be individually customized during installation by specifying
|
|
`--salt-lib-state-dir` during installation. Change the default `pki_dir` to
|
|
`<LIB_STATE_DIR>/pki/master` (for the master) and `<LIB_STATE_DIR>/pki/minion`
|
|
(for the minion).
|