This improves pip detection on hosts where "pip" exists and refers to a
different Python version from the Python under which Salt is running. It
does so by getting the major and minor version from sys.version_info and
looking for pipX.Y before checking the rest of the potential names for
pip.
Some tools, like Packer, don't include the 'qcow2' file extension
when generating disk images. When the libvirt cloud module was
given a disk image with no extension, the
function would raise .
This PR fixes the assumption that disk images have file extensions
in their names.
The saltenv argument from state orchestration was being ignored in favor
of the magic __env__ dunder. This affects highstates run via
orchestration, which by default should process all envs in the loaded
tops.
This commit creates a new feature that provides automatic batching of
jobs if the job would have executed on too many minions.
See comments provided in commit for additional details.
Ref: #19054 (https://github.com/saltstack/salt/issues/19054)
put_archive does not extract the files using the user that the container is
running as. With this change, the files are copied as the running user, and
then extracted owned by the container user.
This change lets the docker.call and docker.sls commands run as a non root user.
Also add cachedir to the salt-call options
And put both the minion log file and the cachedir in the docker thin tarball
directory
On some lightweight Linux setups neither smbios nor dmidecode is present.
However, we can get most of the hardware related information directly from
sysfs. This requires CONFIG_DMIID to be enabled in Linux kernel configuration,
however it is the default for x86 vanilla defconfig and present on all major
Linux distributions.
See https://github.com/docker/docker-py/pull/1586
This allows an existing client instance to disregard its cached auth
config and use the most up-to-date login info from the config.json.