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>
* Update versionadded from 3006 to 3005
* Add known issue about SSC 8.9.0 dependency
* Add explanation for the issue
* Update release candidate documentation
* Add clarification per Shane's review
* Add RHEL GPG key info
* Revise topic per Murphy's review
* Switch to the SaltStack ORG on quay.io
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
* Update the salt pip executable to salt-pip
* Fix pre-install and post-install scripts
Make the date display in the logs properly
* Add pyinstaller hook which pulls in all of salt and the standard library
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
* Add changelog for #62383 which fixes#62362
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
* Windows search path is different
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
* Salt should not do any logic to include/exclude requirements. That's pip's job.
Refs #62386Fixes#62392
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
Co-authored-by: Alyssa Rock <alyssa.rock@gmail.com>
Co-authored-by: Twangboy <leesh@vmware.com>
```
Traceback (most recent call last):
File "setup.py", line 1448, in <module>
setup(distclass=SaltDistribution)
File "/Users/jenkins/setup-tests/.venv/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/salt/lib/python3.7/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "setup.py", line 1068, in __init__
self.update_metadata()
File "setup.py", line 1074, in update_metadata
attrvalue = getattr(self, attrname, None)
File "setup.py", line 1182, in _property_install_requires
install_requires += _parse_requirements_file(reqfile)
File "setup.py", line 270, in _parse_requirements_file
platform.python_version(), _parse_op(op), _parse_ver(ver)
File "setup.py", line 247, in _check_ver
return getattr(operator, "__{}__".format(op))(pyver, wanted)
File "/opt/salt/lib/python3.7/distutils/version.py", line 46, in __eq__
c = self._cmp(other)
File "/opt/salt/lib/python3.7/distutils/version.py", line 337, in _cmp
if self.version < other.version:
TypeError: '<' not supported between instances of 'str' and 'int'
```
Additionally, detect if setup is running under a tiamat build(single
binary).
If so, provide the locked requirements for linux instead of the base
requirements.
Windows and macOS already provide locked requirements, running under
pop-build or not.