All notable changes to Salt will be documented in this file.
This changelog follows keepachangelog format, and is intended for human consumption.
This project versioning is similar to Semantic Versioning, and is documented in SEP 14.
Versions are MAJOR.PATCH
.
- Check that the return data from the cloud create function is a dictionary before attempting to pull values out. #61236
- Ensure NamedLoaderContext's have their value() used if passing to other modules #62477
- add documentation note about reactor state ids. #63589
- Added support for
test=True
to thefile.cached
state module #63785 - Updated
source_hash
documentation and added a log warning whensource_hash
is used with a source other thanhttp
,https
andftp
. #63810 - Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. #64081
- Fix dmsetup device names with hyphen being picked up. #64082
- Update all the scheduler functions to include a fire_event argument which will determine whether to fire the completion event onto the event bus. This event is only used when these functions are called via the schedule execution modules. Update all the calls to the schedule related functions in the deltaproxy proxy minion to include fire_event=False, as the event bus is not available when these functions are called. #64102, #64103
- Default to a 0 timeout if none is given for the terraform roster to avoid
-o ConnectTimeout=None
when usingsalt-ssh
#64109 - Disable class level caching of the file client on
SaltCacheLoader
and properly use context managers to take care of initialization and termination of the file client. #64111 - Fixed several file client uses which were not properly terminating it by switching to using it as a context manager
whenever possible or making sure
.destroy()
was called when using a context manager was not possible. #64113 - Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. #64114
- Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package #64117
- Stop passing
**kwargs
and be explicit about the keyword arguments to pass, namely, tocp.cache_file
call insalt.states.pkg
#64118 - lgpo_reg.set_value now returns
True
on success instead ofNone
#64126 - Make salt user's home /opt/saltstack/salt #64141
- Fix cmd.run doesn't output changes in test mode #64150
- Move salt user and group creation to common package #64158
- Fixed issue in salt-cloud so that multiple masters specified in the cloud are written to the minion config properly #64170
- Make sure the
salt-ssh
CLI calls it'sfsclient.destroy()
method when done. #64184 - Stop using the deprecated
salt.transport.client
imports. #64186 - Add a
.pth
to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. #64192 - Fix
lgpo_reg
state to work with User policy #64200 - Cloud deployment directories are owned by salt user and group #64204
lgpo_reg
state now enforces and reports changes to the registry #64222
-
Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. #59917
-
Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 #60476
-
Removed
runtests
targets fromnoxfile.py
#62239 -
Removed the PyObjC dependency.
This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. #62432
-
Removed
SixRedirectImporter
from Salt. Salt hasn't shippedsix
since Salt 3004. #63874
- renamed
keep_jobs
, specifying job cache TTL in hours, tokeep_jobs_seconds
, specifying TTL in seconds.keep_jobs
will be removed in the Argon release #55295 - Removing all references to napalm-base which is no longer supported. #61542
- The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py #62009
- The
expand_repo_def
function insalt.modules.aptpkg
is now deprecated. It's only used insalt.states.pkgrepo
and it has no use of being exposed to the CLI. #62485 - Deprecated defunct Django returner #62644
- Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions #62754
- Removing manufacture grain which has been deprecated. #62914
- Removing deprecated utils/boto3_elasticsearch.py #62915
- Removing support for the now deprecated _ext_nodes from salt/master.py. #62917
- Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. #63095
salt.utils.version.StrictVersion
is now deprecated and it's use should be replaced withsalt.utils.version.Version
. #63383
- More intelligent diffing in changes of file.serialize state. #48609
- Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. #49430
umask
is now a global state argument, instead of only applying tocmd
states. #57803- Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. #58971
- Improve support for listing macOS brew casks #59439
- Add missing MariaDB Grants to mysql module.
MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating.
Also improved exception handling in
grant_add
which did not log the original error message and replaced it with a generic error. #61409 - Use VENV_PIP_TARGET environment variable as a default target for pip if present. #62089
- Disabled FQDNs grains on macOS by default #62168
- Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated #62218
- Enhance capture of error messages for Zypper calls in zypperpkg module. #62346
- Removed GPG_1_3_1 check #62895
- Requisite state chunks now all consistently contain
__id__
,__sls__
andname
. #63012 - netapi_enable_clients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapi_enable_clients option with required clients to the master config will disable salt-api. #63050
- Stop relying on
salt/_version.py
to write Salt's version. Instead usesalt/_version.txt
which only contains the version string. #63383 - Set enable_fqdns_grains to be False by default. #63595
- Changelog snippet files must now have a
.md
file extension to be more explicit on what type of rendering is done when they are included in the mainCHANGELOG.md
file. #63710 - Upgraded to
relenv==0.9.0
#63883
-
Add kwargs to handle extra parameters for http.query #36138
-
Fix mounted bind mounts getting active mount options added #39292
-
Fix
sysctl.present
converts spaces to tabs. #40054 -
Fixes state pkg.purged to purge removed packages on Debian family systems #42306
-
Fix fun_args missing from syndic returns #45823
-
Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True #47201
-
Issue #49310: Allow users to touch a file with Unix date of birth #49310
-
Do not raise an exception in pkg.info_installed on nonzero return code #51620
-
Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. #51739
-
Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #52167
-
Don't check for cached pillar errors on state.apply #52354, #57180, #59339
-
Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. #52400
-
Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. #53353
-
When user_create or user_remove fail, return False instead of returning the error. #53377
-
Include sync_roster when sync_all is called. #53914
-
Avoid warning noise in lograte.get #53988
-
Fixed listing revoked keys with gpg.list_keys #54347
-
Fix mount.mounted does not handle blanks properly #54508
-
Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. #54682
-
Fix spelling error for python_shell argument in dpkg_lower module #54907
-
Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) #55226
-
Fixed malformed state return when testing file.managed with unavailable source file #55269
-
Included stdout in error message for Zypper calls in zypperpkg module. #56016
-
Fixed pillar.filter_by with salt-ssh #56093
-
Fix boto_route53 issue with (multiple) VPCs. #57139
-
Remove log from mine runner which was not used. #57463
-
Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #57535
-
Updating Slack engine to use slack_bolt library. #57842
-
Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. #58165
-
Fix salt.modules.pip:is_installed doesn't handle locally installed packages #58202
-
Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. #58297
-
linux_shadow: Fix cases where malformed shadow entries cause
user.present
states to fail. #58423 -
Fixed salt.utils.compat.cmp to work with dictionaries #58729
-
Fixed formatting for terse output mode #58953
-
Fixed RecursiveDictDiffer with added nested dicts #59017
-
Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59169
-
Fixed saltnado websockets disconnecting immediately #59183
-
Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59315
-
Fix postgres_privileges.present not idempotent for functions #59585
-
Fixed influxdb_continuous_query.present state to provide the client args to the underlying module on create. #59766
-
Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. #59786
-
add load balancing policy default option and ensure the module can be executed with arguments from CLI #59909
-
Fix salt-ssh when using imports with extra-filerefs. #60003
-
Fixed cache directory corruption startup error #60170
-
Update docs remove dry_run in docstring of file.blockreplace state. #60227
-
Adds Parrot to OS_Family_Map in grains. #60249
-
Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run[*] functions #60365
-
Use return code in iptables --check to verify rule exists. #60467
-
Fix regression pip.installed does not pass env_vars when calling pip.list #60557
-
Fix xfs module when additional output included in mkfs.xfs command. #60853
-
Fixed parsing new format of terraform states in roster.terraform #60915
-
Fixed recognizing installed ARMv7 rpm packages in compatible architectures. #60994
-
Fixing changes dict in pkg state to be consistent when installing and test=True. #60995
-
Fix cron.present duplicating entries when changing timespec to special. #60997
-
Made salt-ssh respect --wipe again #61083
-
state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. #61092
-
Fix ipset state when the comment kwarg is set. #61122
-
Fix issue with archive.unzip where the password was not being encoded for the extract function #61422
-
Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different
oscodename
,osfullname
,osfinger
grains if lsb-release is installed or not. They have been changed to only derive these OS grains from/etc/os-release
. #61618 -
Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. #61619
-
Fix ssh config roster to correctly parse the ssh config files that contain spaces. #61650
-
Fix SoftLayer configuration not raising an exception when a domain is missing #61727
-
Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry #61789
-
Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. #61805
-
Fixed malformed state return when merge-serializing to an improperly formatted file #61814
-
Made cmdmod._run[_all]_quiet work during minion startup on MacOS with runas specified (which fixed mac_service) #61816
-
When deleting the vault cache, also delete from the session cache #61821
-
Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. #61827
-
win_lgpo: Display conflicting policy names when more than one policy is found #61859
-
win_lgpo: Fixed intermittent KeyError when getting policy setting using lgpo.get_policy #61860
-
Fixed listing minions on OpenBSD #61966
-
Make Salt to return an error on "pkg" modules and states when targeting duplicated package names #62019
-
Fix return of REST-returned permissions when auth_list is set #62022
-
Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. #62029
-
Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() #62030
-
Fix attr=all handling in pkg.list_pkgs() (yum/zypper). #62032
-
Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap #62053
-
Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias #62058
-
Fix ordering of args to libcloud_storage.download_object module #62074
-
Ignore extend declarations in sls files that are excluded. #62082
-
Remove leftover usage of impacket #62101
-
Pass executable path from _get_path_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. #62120
-
Ignore some command return codes in openbsdrcctl_service to prevent spurious errors #62131
-
Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". #62139
-
Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up #62152
-
Restored Salt's DeprecationWarnings #62185
-
Fixed issue with forward slashes on Windows with file.recurse and clean=True #62197
-
Recognize OSMC as Debian-based #62198
-
Fixed Zypper module failing on RPM lock file being temporarily unavailable. #62204
-
Improved error handling and diagnostics in the proxmox salt-cloud driver #62211
-
Added EndeavourOS to the Arch os_family. #62220
-
Fix salt-ssh not detecting
platform-python
as a valid interpreter on EL8 #62235 -
Fix pkg.version_cmp on openEuler and a few other os flavors. #62248
-
Fix localhost detection in glusterfs.peers #62273
-
Fix Salt Package Manager (SPM) exception when calling spm create_repo . #62281
-
Fix matcher slowness due to loader invocation #62283
-
Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. #62323
-
Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect #62334
-
Fix pyobjects renderer access to opts and sls #62336
-
Fix use of random shuffle and sample functions as Jinja filters #62372
-
Fix groups with duplicate GIDs are not returned by get_group_list #62377
-
Fix the "zpool.present" state when enabling zpool features that are already active. #62390
-
Fix ability to execute remote file client methods in saltcheck #62398
-
Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x #62400
-
Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. #62405
-
When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. #62408
-
Added directory mode for file.copy with makedirs #62426
-
Provide better error handling in the various napalm proxy minion functions when the device is not accessible. #62435
-
When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. #62439
-
The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module #62451
-
sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. #62461
-
Fixed parsing CDROM apt sources #62474
-
Update sanitizing masking for Salt SSH to include additional password like strings. #62483
-
Fix user/group checking on file state functions in the test mode. #62499
-
Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. #62502
-
Fix possible tracebacks if there is a package with '------' or '======' in the description is installed on the Debian based minion. #62519
-
Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver #62521
-
Fix rendering of pyobjects states in saltcheck #62523
-
Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt #62527
-
Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. #62546
-
Remove the connection_timeout from netmiko_connection_args before netmiko_connection_args is added to context["netmiko_device"]["args"] which is passed along to the Netmiko library. #62547
-
Fix order specific mount.mounted options for persist #62556
-
Fixed salt-cloud cloning a proxmox VM with a specified new vmid. #62558
-
Fix runas with cmd module when using the onedir bundled packages #62565
-
Update setproctitle version for all platforms #62576
-
Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver #62580
-
Handle PermissionError when importing crypt when FIPS is enabled. #62587
-
Correctly reraise exceptions in states.http #62595
-
Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. #62618
-
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. #62624
-
Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline #62633
-
Fixed vault ext pillar return data for KV v2 #62651
-
Fix saltcheck _get_top_states doesn't pass saltenv to state.show_top #62654
-
Fix groupadd.* functions hard code relative command name #62657
-
Fixed pdbedit.create trying to use a bytes-like hash as string. #62670
-
Fix depenency on legacy boto module in boto3 modules #62672
-
Modified "_get_flags" function so that it returns regex flags instead of integers #62676
-
Change startup ReqServer log messages from error to info level. #62728
-
Fix kmod.* functions hard code relative command name #62772
-
Remove mako as a dependency in Windows and macOS. #62785
-
Fix mac_brew_pkg to work with null taps #62793
-
Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. #62795
-
Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode #62817
-
Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. #62818
-
Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly #62826
-
Remove Azure deprecation messages from functions that always run w/ salt-cloud #62845
-
Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 #62854
-
Fixed master job scheduler using when #62858
-
LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding #62873
-
Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. #62878
-
Fixed dockermod version_info function for docker-py 6.0.0+ #62882
-
Moving setting the LOAD_BALANCING_POLICY_MAP dictionary into the try except block that determines if the cassandra_cql module should be made available. #62886
-
Updating various MongoDB module functions to work with latest version of pymongo. #62900
-
Restored channel for Syndic minions to send job returns to the Salt master. #62933
-
removed _resolve_deps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. #62934
-
Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang #62937
-
Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. #62940
-
Fix systemd_service.* functions hard code relative command name #62942
-
Fix file.symlink backupname operation can copy remote contents to local disk #62953
-
Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts #62968
-
Fixed gpg_passphrase issue with gpg decrypt/encrypt functions #62977
-
Fix file.tidied FileNotFoundError #62986
-
Fixed bug where module.wait states were detected as running legacy module.run syntax #62988
-
Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start #62993
-
The
__opts__
dunder dictionary is now added to the loader'spack
if not already present, which makes it accessible via thesalt.loader.context.NamedLoaderContext
class. #63013 -
Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts #63024
-
Fix btrfs.subvolume_snapshot command failing #63025
-
Fix file.retention_schedule always reports changes #63033
-
Fix mongo authentication for mongo ext_pillar and mongo returner
This fix also include the ability to use the mongo connection string for mongo ext_pillar #63058
-
Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. #63103
-
TCP transport documentation now contains proper master/minion-side filtering information #63120
-
Fixed gpg.verify does not respect gnupghome #63145
-
User responsible for the runner is now correctly reported in the events on the event bus for the runner. #63148
-
Made pillar cache pass extra minion data as well #63208
-
Fix serious performance issues with the file.tidied module #63231
-
Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. #63317
-
Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available #63350
-
service.status
on Windows does no longer throws a CommandExecutionError if the service is not found on the system. It now returns "Not Found" instead. #63577 -
When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. #63590
-
LGPO: Added support for "Relax minimum password length limits" #63596
-
Fixed the ability to set a scheduled task to auto delete if not scheduled to run again (
delete_after
) #63650 -
When a job is disabled only increase it's _next_fire_time value if the job would have run at the current time, eg. the current _next_fire_time == now. #63699
-
have salt.template.compile_template_str cleanup its temp files. #63724
-
Check file is not empty before attempting to read pillar disk cache file #63729
-
Fixed an issue with generating fingerprints for public keys with different line endings #63742
-
Add
fileserver_interval
andmaintenance_interval
master configuration options. These options control how often to restart the FileServerUpdate and Maintenance processes. Some file server and pillar configurations are known to cause memory leaks over time. A notable example of this are configurations that use pygit2. Salt can not guarantee dependency libraries like pygit2 won't leak memory. Restarting any long running processes that use pygit2 guarantees we can keep the master's memory usage in check. #63747 -
mac_xattr.list and mac_xattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. #63779 #63779
-
Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org. #63806
-
fix cherrypy 400 error output to be less generic. #63835
-
Ensure kwargs is passed along to _call_apt when passed into install function. #63847
-
remove eval and update logging to be more informative on bad config #63879
-
add linux_distribution to util to stop dep warning #63904
-
Fix valuerror when trying to close fileclient. Remove usage of del and close the filclient properly. #63920
-
Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. #63923
-
Clarifying documentation for extension_modules configuration option. #63929
-
Windows pkg module now properly handles versions containing strings #63935
-
Handle the scenario when the check_cmd requisite is used with a state function when the state has a local check_cmd function but that function isn't used by that function. #63948
-
Issue #63981: Allow users to pass verify_ssl to pkg.install/pkg.installed on Windows #63981
-
Hardened permissions on workers.ipc and master_event_pub.ipc. #64063
- Introduce a
LIB_STATE_DIR
syspaths variable which defaults toCONFIG_DIR
, but can be individually customized during installation by specifying--salt-lib-state-dir
during installation. Change the defaultpki_dir
to<LIB_STATE_DIR>/pki/master
(for the master) and<LIB_STATE_DIR>/pki/minion
(for the minion). #3396 - Allow users to enable 'queue=True' for all state runs via config file #31468
- Added pillar templating to vault policies #43287
- Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray #51088
- A new salt-ssh roster that generates a roster by parses a known_hosts file. #54679
- Added Windows Event Viewer support #54713
- Added the win_lgpo_reg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file #56013
- Added resource tagging functions to boto_dynamodb execution module #57500
- Added
openvswitch_db
state module and functionsbridge_to_parent
,bridge_to_vlan
,db_get
, anddb_set
to theopenvswitch
execution module. Also added optionalparent
andvlan
parameters to theopenvswitch_bridge.present
state module function and theopenvswitch.bridge_create
execution module function. #58986 - State module to manage SysFS attributes #60154
- Added ability for
salt.wait_for_event
to handleevent_id
s that have a list value. #60430 - Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) #60518
- Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. #60700
- Added .0 back to our versioning scheme for future versions (e.g. 3006.0) #60722
- Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. #61153
- Added node label support for GCE #61245
- Support the --priority flag when adding sources to Chocolatey. #61319
- Add namespace option to ext_pillar.http_json #61335
- Added a filter function to ps module to get a list of processes on a minion according to their state. #61420
- Add postgres.timeout option to postgres module for limiting postgres query times #61433
- Added new optional vault option,
config_location
. This can be eithermaster
orlocal
and defines where vault will look for connection details, either requesting them from the master or using the local config. #61857 - Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. #61931
- 'tcp' transport is now available in ipv6-only network #62009
- Add
diff_attr
parameter to pkg.upgrade() (zypper/yum). #62031 - Config option pass_variable_prefix allows to distinguish variables that contain paths to pass secrets. Config option pass_strict_fetch allows to error out when a secret cannot be fetched from pass. Config option pass_dir allows setting the PASSWORD_STORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. #62120
- Add file.pruned state and expanded file.rmdir exec module functionality #62178
- Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation #62275
- Added the ability to remove a KB using the DISM state/execution modules #62366
- Add " python" subcommand to allow execution or arbitrary scripts via bundled Python runtime #62381
- Add ability to provide conditions which convert normal state actions to no-op when true #62446
- Added debug log messages displaying the command being run when installing packages on Windows #62480
- Add biosvendor grain #62496
- Add ifelse Jinja function as found in CFEngine #62508
- Implementation of Amazon EC2 instance detection and setting
virtual_subtype
grain accordingly including the product if possible to identify. #62539 - Adds __env__substitution to ext_pillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in ext_pillar.stack #62578
- Increase file.tidied flexibility with regard to age and size #62678
- Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion #62761
- Add atomic file operation for symlink changes #62768
- Add password/account locking/unlocking in user.present state on supported operating systems #62856
- Added onchange configuration for script engine #62867
- Added output and bare functionality to export_key gpg module function #62978
- Add keyvalue serializer for environment files #62983
- Add ability to ignore symlinks in file.tidied #63042
- salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' #63067
- Fix running fast tests twice and add git labels to suite. #63081
- Add ability for file.symlink to not set ownership on existing links #63093
- Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation #63095
- Add functions that will return the underlying block device, mount point, and filesystem type for a given path #63098
- Add ethtool execution and state module functions for pause #63128
- Add boardname grain #63131
- Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63248
- Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63249
- Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. #63315
- Adds a state_events option to state.highstate, state.apply, state.sls, state.sls_id. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. #63316
- Allow max queue size setting for state runs to prevent performance problems from queue growth #63356
- Add support of exposing meta_server_grains for Azure VMs #63606
- Include the version of
relenv
in the versions report. #63827 - Added debug log messages displaying the command being run when removing packages on Windows #63866
- Adding the ability to exclude arguments from a state that end up passed to cmd.retcode when requisites such as onlyif or unless are used. #63956
- Add --next-release argument to salt/version.py, which prints the next upcoming release. #64023
-
Upgrade Requirements Due to Security Issues.
- Upgrade to
cryptography>=39.0.1
due to: - Upgrade to
pyopenssl==23.0.0
due to the cryptography upgrade. - Update to
markdown-it-py==2.2.0
due to:
- Upgrade to
-
Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. #59917
-
Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 #60476
-
Removed
runtests
targets fromnoxfile.py
#62239 -
Removed the PyObjC dependency.
This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. #62432
-
Removed
SixRedirectImporter
from Salt. Salt hasn't shippedsix
since Salt 3004. #63874
- renamed
keep_jobs
, specifying job cache TTL in hours, tokeep_jobs_seconds
, specifying TTL in seconds.keep_jobs
will be removed in the Argon release #55295 - Removing all references to napalm-base which is no longer supported. #61542
- The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py #62009
- The
expand_repo_def
function insalt.modules.aptpkg
is now deprecated. It's only used insalt.states.pkgrepo
and it has no use of being exposed to the CLI. #62485 - Deprecated defunct Django returner #62644
- Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions #62754
- Removing manufacture grain which has been deprecated. #62914
- Removing deprecated utils/boto3_elasticsearch.py #62915
- Removing support for the now deprecated _ext_nodes from salt/master.py. #62917
- Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. #63095
salt.utils.version.StrictVersion
is now deprecated and it's use should be replaced withsalt.utils.version.Version
. #63383
- More intelligent diffing in changes of file.serialize state. #48609
- Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. #49430
umask
is now a global state argument, instead of only applying tocmd
states. #57803- Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. #58971
- Improve support for listing macOS brew casks #59439
- Add missing MariaDB Grants to mysql module.
MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating.
Also improved exception handling in
grant_add
which did not log the original error message and replaced it with a generic error. #61409 - Use VENV_PIP_TARGET environment variable as a default target for pip if present. #62089
- Disabled FQDNs grains on macOS by default #62168
- Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated #62218
- Enhance capture of error messages for Zypper calls in zypperpkg module. #62346
- Removed GPG_1_3_1 check #62895
- Requisite state chunks now all consistently contain
__id__
,__sls__
andname
. #63012 - netapi_enable_clients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapi_enable_clients option with required clients to the master config will disable salt-api. #63050
- Stop relying on
salt/_version.py
to write Salt's version. Instead usesalt/_version.txt
which only contains the version string. #63383 - Set enable_fqdns_grains to be False by default. #63595
- Changelog snippet files must now have a
.md
file extension to be more explicit on what type of rendering is done when they are included in the mainCHANGELOG.md
file. #63710 - Upgraded to
relenv==0.9.0
#63883
-
Add kwargs to handle extra parameters for http.query #36138
-
Fix mounted bind mounts getting active mount options added #39292
-
Fix
sysctl.present
converts spaces to tabs. #40054 -
Fixes state pkg.purged to purge removed packages on Debian family systems #42306
-
Fix fun_args missing from syndic returns #45823
-
Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True #47201
-
Issue #49310: Allow users to touch a file with Unix date of birth #49310
-
Do not raise an exception in pkg.info_installed on nonzero return code #51620
-
Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. #51739
-
Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #52167
-
Don't check for cached pillar errors on state.apply #52354, #57180, #59339
-
Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. #52400
-
Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. #53353
-
When user_create or user_remove fail, return False instead of returning the error. #53377
-
Include sync_roster when sync_all is called. #53914
-
Avoid warning noise in lograte.get #53988
-
Fixed listing revoked keys with gpg.list_keys #54347
-
Fix mount.mounted does not handle blanks properly #54508
-
Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. #54682
-
Fix spelling error for python_shell argument in dpkg_lower module #54907
-
Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) #55226
-
Fixed malformed state return when testing file.managed with unavailable source file #55269
-
Included stdout in error message for Zypper calls in zypperpkg module. #56016
-
Fixed pillar.filter_by with salt-ssh #56093
-
Fix boto_route53 issue with (multiple) VPCs. #57139
-
Remove log from mine runner which was not used. #57463
-
Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #57535
-
Updating Slack engine to use slack_bolt library. #57842
-
Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. #58165
-
Fix salt.modules.pip:is_installed doesn't handle locally installed packages #58202
-
Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. #58297
-
linux_shadow: Fix cases where malformed shadow entries cause
user.present
states to fail. #58423 -
Fixed salt.utils.compat.cmp to work with dictionaries #58729
-
Fixed formatting for terse output mode #58953
-
Fixed RecursiveDictDiffer with added nested dicts #59017
-
Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59169
-
Fixed saltnado websockets disconnecting immediately #59183
-
Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59315
-
Fix postgres_privileges.present not idempotent for functions #59585
-
Fixed influxdb_continuous_query.present state to provide the client args to the underlying module on create. #59766
-
Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. #59786
-
add load balancing policy default option and ensure the module can be executed with arguments from CLI #59909
-
Fix salt-ssh when using imports with extra-filerefs. #60003
-
Fixed cache directory corruption startup error #60170
-
Update docs remove dry_run in docstring of file.blockreplace state. #60227
-
Adds Parrot to OS_Family_Map in grains. #60249
-
Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run[*] functions #60365
-
Use return code in iptables --check to verify rule exists. #60467
-
Fix regression pip.installed does not pass env_vars when calling pip.list #60557
-
Fix xfs module when additional output included in mkfs.xfs command. #60853
-
Fixed parsing new format of terraform states in roster.terraform #60915
-
Fixed recognizing installed ARMv7 rpm packages in compatible architectures. #60994
-
Fixing changes dict in pkg state to be consistent when installing and test=True. #60995
-
Fix cron.present duplicating entries when changing timespec to special. #60997
-
Made salt-ssh respect --wipe again #61083
-
state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. #61092
-
Fix ipset state when the comment kwarg is set. #61122
-
Fix issue with archive.unzip where the password was not being encoded for the extract function #61422
-
Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different
oscodename
,osfullname
,osfinger
grains if lsb-release is installed or not. They have been changed to only derive these OS grains from/etc/os-release
. #61618 -
Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. #61619
-
Fix ssh config roster to correctly parse the ssh config files that contain spaces. #61650
-
Fix SoftLayer configuration not raising an exception when a domain is missing #61727
-
Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry #61789
-
Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. #61805
-
Fixed malformed state return when merge-serializing to an improperly formatted file #61814
-
Made cmdmod._run[_all]_quiet work during minion startup on MacOS with runas specified (which fixed mac_service) #61816
-
When deleting the vault cache, also delete from the session cache #61821
-
Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. #61827
-
win_lgpo: Display conflicting policy names when more than one policy is found #61859
-
win_lgpo: Fixed intermittent KeyError when getting policy setting using lgpo.get_policy #61860
-
Fixed listing minions on OpenBSD #61966
-
Make Salt to return an error on "pkg" modules and states when targeting duplicated package names #62019
-
Fix return of REST-returned permissions when auth_list is set #62022
-
Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. #62029
-
Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() #62030
-
Fix attr=all handling in pkg.list_pkgs() (yum/zypper). #62032
-
Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap #62053
-
Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias #62058
-
Fix ordering of args to libcloud_storage.download_object module #62074
-
Ignore extend declarations in sls files that are excluded. #62082
-
Remove leftover usage of impacket #62101
-
Pass executable path from _get_path_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. #62120
-
Ignore some command return codes in openbsdrcctl_service to prevent spurious errors #62131
-
Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". #62139
-
Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up #62152
-
Restored Salt's DeprecationWarnings #62185
-
Fixed issue with forward slashes on Windows with file.recurse and clean=True #62197
-
Recognize OSMC as Debian-based #62198
-
Fixed Zypper module failing on RPM lock file being temporarily unavailable. #62204
-
Improved error handling and diagnostics in the proxmox salt-cloud driver #62211
-
Added EndeavourOS to the Arch os_family. #62220
-
Fix salt-ssh not detecting
platform-python
as a valid interpreter on EL8 #62235 -
Fix pkg.version_cmp on openEuler and a few other os flavors. #62248
-
Fix localhost detection in glusterfs.peers #62273
-
Fix Salt Package Manager (SPM) exception when calling spm create_repo . #62281
-
Fix matcher slowness due to loader invocation #62283
-
Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. #62323
-
Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect #62334
-
Fix pyobjects renderer access to opts and sls #62336
-
Fix use of random shuffle and sample functions as Jinja filters #62372
-
Fix groups with duplicate GIDs are not returned by get_group_list #62377
-
Fix the "zpool.present" state when enabling zpool features that are already active. #62390
-
Fix ability to execute remote file client methods in saltcheck #62398
-
Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x #62400
-
Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. #62405
-
When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. #62408
-
Added directory mode for file.copy with makedirs #62426
-
Provide better error handling in the various napalm proxy minion functions when the device is not accessible. #62435
-
When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. #62439
-
The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module #62451
-
sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. #62461
-
Fixed parsing CDROM apt sources #62474
-
Update sanitizing masking for Salt SSH to include additional password like strings. #62483
-
Fix user/group checking on file state functions in the test mode. #62499
-
Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. #62502
-
Fix possible tracebacks if there is a package with '------' or '======' in the description is installed on the Debian based minion. #62519
-
Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver #62521
-
Fix rendering of pyobjects states in saltcheck #62523
-
Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt #62527
-
Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. #62546
-
Remove the connection_timeout from netmiko_connection_args before netmiko_connection_args is added to context["netmiko_device"]["args"] which is passed along to the Netmiko library. #62547
-
Fix order specific mount.mounted options for persist #62556
-
Fixed salt-cloud cloning a proxmox VM with a specified new vmid. #62558
-
Fix runas with cmd module when using the onedir bundled packages #62565
-
Update setproctitle version for all platforms #62576
-
Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver #62580
-
Handle PermissionError when importing crypt when FIPS is enabled. #62587
-
Correctly reraise exceptions in states.http #62595
-
Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. #62618
-
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. #62624
-
Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline #62633
-
Fixed vault ext pillar return data for KV v2 #62651
-
Fix saltcheck _get_top_states doesn't pass saltenv to state.show_top #62654
-
Fix groupadd.* functions hard code relative command name #62657
-
Fixed pdbedit.create trying to use a bytes-like hash as string. #62670
-
Fix depenency on legacy boto module in boto3 modules #62672
-
Modified "_get_flags" function so that it returns regex flags instead of integers #62676
-
Change startup ReqServer log messages from error to info level. #62728
-
Fix kmod.* functions hard code relative command name #62772
-
Fix mac_brew_pkg to work with null taps #62793
-
Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. #62795
-
Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode #62817
-
Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. #62818
-
Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly #62826
-
Remove Azure deprecation messages from functions that always run w/ salt-cloud #62845
-
Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 #62854
-
Fixed master job scheduler using when #62858
-
LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding #62873
-
Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. #62878
-
Fixed dockermod version_info function for docker-py 6.0.0+ #62882
-
Moving setting the LOAD_BALANCING_POLICY_MAP dictionary into the try except block that determines if the cassandra_cql module should be made available. #62886
-
Updating various MongoDB module functions to work with latest version of pymongo. #62900
-
Restored channel for Syndic minions to send job returns to the Salt master. #62933
-
removed _resolve_deps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. #62934
-
Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang #62937
-
Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. #62940
-
Fix systemd_service.* functions hard code relative command name #62942
-
Fix file.symlink backupname operation can copy remote contents to local disk #62953
-
Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts #62968
-
Fixed gpg_passphrase issue with gpg decrypt/encrypt functions #62977
-
Fix file.tidied FileNotFoundError #62986
-
Fixed bug where module.wait states were detected as running legacy module.run syntax #62988
-
Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start #62993
-
The
__opts__
dunder dictionary is now added to the loader'spack
if not already present, which makes it accessible via thesalt.loader.context.NamedLoaderContext
class. #63013 -
Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts #63024
-
Fix btrfs.subvolume_snapshot command failing #63025
-
Fix file.retention_schedule always reports changes #63033
-
Fix mongo authentication for mongo ext_pillar and mongo returner
This fix also include the ability to use the mongo connection string for mongo ext_pillar #63058
-
Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. #63103
-
TCP transport documentation now contains proper master/minion-side filtering information #63120
-
Fixed gpg.verify does not respect gnupghome #63145
-
Made pillar cache pass extra minion data as well #63208
-
Fix serious performance issues with the file.tidied module #63231
-
Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. #63317
-
Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available #63350
-
When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. #63590
-
LGPO: Added support for "Relax minimum password length limits" #63596
-
Fixed the ability to set a scheduled task to auto delete if not scheduled to run again (
delete_after
) #63650 -
When a job is disabled only increase it's _next_fire_time value if the job would have run at the current time, eg. the current _next_fire_time == now. #63699
-
have salt.template.compile_template_str cleanup its temp files. #63724
-
Check file is not empty before attempting to read pillar disk cache file #63729
-
Fixed an issue with generating fingerprints for public keys with different line endings #63742
-
Change default GPG keyserver from pgp.mit.edu to keys.openpgp.org. #63806
-
fix cherrypy 400 error output to be less generic. #63835
-
Ensure kwargs is passed along to _call_apt when passed into install function. #63847
-
remove eval and update logging to be more informative on bad config #63879
-
add linux_distribution to util to stop dep warning #63904
-
Handle the situation when a sub proxy minion does not init properly, eg. an exception happens, and the sub proxy object is not available. #63923
-
Clarifying documentation for extension_modules configuration option. #63929
-
Windows pkg module now properly handles versions containing strings #63935
-
Handle the scenario when the check_cmd requisite is used with a state function when the state has a local check_cmd function but that function isn't used by that function. #63948
-
Issue #63981: Allow users to pass verify_ssl to pkg.install/pkg.installed on Windows #63981
- Introduce a
LIB_STATE_DIR
syspaths variable which defaults toCONFIG_DIR
, but can be individually customized during installation by specifying--salt-lib-state-dir
during installation. Change the defaultpki_dir
to<LIB_STATE_DIR>/pki/master
(for the master) and<LIB_STATE_DIR>/pki/minion
(for the minion). #3396 - Allow users to enable 'queue=True' for all state runs via config file #31468
- Added pillar templating to vault policies #43287
- Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray #51088
- A new salt-ssh roster that generates a roster by parses a known_hosts file. #54679
- Added Windows Event Viewer support #54713
- Added the win_lgpo_reg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file #56013
- Added resource tagging functions to boto_dynamodb execution module #57500
- Added
openvswitch_db
state module and functionsbridge_to_parent
,bridge_to_vlan
,db_get
, anddb_set
to theopenvswitch
execution module. Also added optionalparent
andvlan
parameters to theopenvswitch_bridge.present
state module function and theopenvswitch.bridge_create
execution module function. #58986 - State module to manage SysFS attributes #60154
- Added ability for
salt.wait_for_event
to handleevent_id
s that have a list value. #60430 - Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) #60518
- Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. #60700
- Added .0 back to our versioning scheme for future versions (e.g. 3006.0) #60722
- Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. #61153
- Added node label support for GCE #61245
- Support the --priority flag when adding sources to Chocolatey. #61319
- Add namespace option to ext_pillar.http_json #61335
- Added a filter function to ps module to get a list of processes on a minion according to their state. #61420
- Add postgres.timeout option to postgres module for limiting postgres query times #61433
- Added new optional vault option,
config_location
. This can be eithermaster
orlocal
and defines where vault will look for connection details, either requesting them from the master or using the local config. #61857 - Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. #61931
- 'tcp' transport is now available in ipv6-only network #62009
- Add
diff_attr
parameter to pkg.upgrade() (zypper/yum). #62031 - Config option pass_variable_prefix allows to distinguish variables that contain paths to pass secrets. Config option pass_strict_fetch allows to error out when a secret cannot be fetched from pass. Config option pass_dir allows setting the PASSWORD_STORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. #62120
- Add file.pruned state and expanded file.rmdir exec module functionality #62178
- Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation #62275
- Added the ability to remove a KB using the DISM state/execution modules #62366
- Add " python" subcommand to allow execution or arbitrary scripts via bundled Python runtime #62381
- Add ability to provide conditions which convert normal state actions to no-op when true #62446
- Added debug log messages displaying the command being run when installing packages on Windows #62480
- Add biosvendor grain #62496
- Add ifelse Jinja function as found in CFEngine #62508
- Implementation of Amazon EC2 instance detection and setting
virtual_subtype
grain accordingly including the product if possible to identify. #62539 - Adds __env__substitution to ext_pillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in ext_pillar.stack #62578
- Increase file.tidied flexibility with regard to age and size #62678
- Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion #62761
- Add atomic file operation for symlink changes #62768
- Add password/account locking/unlocking in user.present state on supported operating systems #62856
- Added onchange configuration for script engine #62867
- Added output and bare functionality to export_key gpg module function #62978
- Add keyvalue serializer for environment files #62983
- Add ability to ignore symlinks in file.tidied #63042
- salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' #63067
- Add ability for file.symlink to not set ownership on existing links #63093
- Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation #63095
- Add functions that will return the underlying block device, mount point, and filesystem type for a given path #63098
- Add ethtool execution and state module functions for pause #63128
- Add boardname grain #63131
- Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63248
- Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63249
- Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. #63315
- Adds a state_events option to state.highstate, state.apply, state.sls, state.sls_id. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. #63316
- Allow max queue size setting for state runs to prevent performance problems from queue growth #63356
- Add support of exposing meta_server_grains for Azure VMs #63606
- Include the version of
relenv
in the versions report. #63827 - Added debug log messages displaying the command being run when removing packages on Windows #63866
-
Upgrade Requirements Due to Security Issues.
- Upgrade to
cryptography>=39.0.1
due to: - Upgrade to
pyopenssl==23.0.0
due to the cryptography upgrade. - Update to
markdown-it-py==2.2.0
due to:
- Upgrade to
-
Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. #59917
-
Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 #60476
-
Removed
runtests
targets fromnoxfile.py
#62239 -
Removed the PyObjC dependency.
This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. #62432
-
Removed
SixRedirectImporter
from Salt. Salt hasn't shippedsix
since Salt 3004. #63874
- renamed
keep_jobs
, specifying job cache TTL in hours, tokeep_jobs_seconds
, specifying TTL in seconds.keep_jobs
will be removed in the Argon release #55295 - Removing all references to napalm-base which is no longer supported. #61542
- The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py #62009
- The
expand_repo_def
function insalt.modules.aptpkg
is now deprecated. It's only used insalt.states.pkgrepo
and it has no use of being exposed to the CLI. #62485 - Deprecated defunct Django returner #62644
- Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions #62754
- Removing manufacture grain which has been deprecated. #62914
- Removing deprecated utils/boto3_elasticsearch.py #62915
- Removing support for the now deprecated _ext_nodes from salt/master.py. #62917
- Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. #63095
salt.utils.version.StrictVersion
is now deprecated and it's use should be replaced withsalt.utils.version.Version
. #63383
- More intelligent diffing in changes of file.serialize state. #48609
- Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. #49430
umask
is now a global state argument, instead of only applying tocmd
states. #57803- Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. #58971
- Improve support for listing macOS brew casks #59439
- Add missing MariaDB Grants to mysql module.
MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating.
Also improved exception handling in
grant_add
which did not log the original error message and replaced it with a generic error. #61409 - Use VENV_PIP_TARGET environment variable as a default target for pip if present. #62089
- Disabled FQDNs grains on macOS by default #62168
- Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated #62218
- Enhance capture of error messages for Zypper calls in zypperpkg module. #62346
- Removed GPG_1_3_1 check #62895
- Requisite state chunks now all consistently contain
__id__
,__sls__
andname
. #63012 - netapi_enable_clients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapi_enable_clients option with required clients to the master config will disable salt-api. #63050
- Stop relying on
salt/_version.py
to write Salt's version. Instead usesalt/_version.txt
which only contains the version string. #63383 - Set enable_fqdns_grains to be False by default. #63595
- Changelog snippet files must now have a
.md
file extension to be more explicit on what type of rendering is done when they are included in the mainCHANGELOG.md
file. #63710
-
Add kwargs to handle extra parameters for http.query #36138
-
Fix mounted bind mounts getting active mount options added #39292
-
Fix
sysctl.present
converts spaces to tabs. #40054 -
Fixes state pkg.purged to purge removed packages on Debian family systems #42306
-
Fix fun_args missing from syndic returns #45823
-
Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True #47201
-
Issue #49310: Allow users to touch a file with Unix date of birth #49310
-
Do not raise an exception in pkg.info_installed on nonzero return code #51620
-
Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. #51739
-
Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #52167
-
Don't check for cached pillar errors on state.apply #52354, #57180, #59339
-
Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. #52400
-
Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. #53353
-
When user_create or user_remove fail, return False instead of returning the error. #53377
-
Include sync_roster when sync_all is called. #53914
-
Avoid warning noise in lograte.get #53988
-
Fixed listing revoked keys with gpg.list_keys #54347
-
Fix mount.mounted does not handle blanks properly #54508
-
Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. #54682
-
Fix spelling error for python_shell argument in dpkg_lower module #54907
-
Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) #55226
-
Fixed malformed state return when testing file.managed with unavailable source file #55269
-
Included stdout in error message for Zypper calls in zypperpkg module. #56016
-
Fixed pillar.filter_by with salt-ssh #56093
-
Fix boto_route53 issue with (multiple) VPCs. #57139
-
Remove log from mine runner which was not used. #57463
-
Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #57535
-
Updating Slack engine to use slack_bolt library. #57842
-
Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. #58165
-
Fix salt.modules.pip:is_installed doesn't handle locally installed packages #58202
-
Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. #58297
-
linux_shadow: Fix cases where malformed shadow entries cause
user.present
states to fail. #58423 -
Fixed salt.utils.compat.cmp to work with dictionaries #58729
-
Fixed formatting for terse output mode #58953
-
Fixed RecursiveDictDiffer with added nested dicts #59017
-
Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59169
-
Fixed saltnado websockets disconnecting immediately #59183
-
Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59315
-
Fix postgres_privileges.present not idempotent for functions #59585
-
Fixed influxdb_continuous_query.present state to provide the client args to the underlying module on create. #59766
-
Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. #59786
-
add load balancing policy default option and ensure the module can be executed with arguments from CLI #59909
-
Fix salt-ssh when using imports with extra-filerefs. #60003
-
Fixed cache directory corruption startup error #60170
-
Update docs remove dry_run in docstring of file.blockreplace state. #60227
-
Adds Parrot to OS_Family_Map in grains. #60249
-
Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run[*] functions #60365
-
Use return code in iptables --check to verify rule exists. #60467
-
Fix regression pip.installed does not pass env_vars when calling pip.list #60557
-
Fix xfs module when additional output included in mkfs.xfs command. #60853
-
Fixed parsing new format of terraform states in roster.terraform #60915
-
Fixed recognizing installed ARMv7 rpm packages in compatible architectures. #60994
-
Fixing changes dict in pkg state to be consistent when installing and test=True. #60995
-
Fix cron.present duplicating entries when changing timespec to special. #60997
-
Made salt-ssh respect --wipe again #61083
-
state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. #61092
-
Fix ipset state when the comment kwarg is set. #61122
-
Fix issue with archive.unzip where the password was not being encoded for the extract function #61422
-
Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different
oscodename
,osfullname
,osfinger
grains if lsb-release is installed or not. They have been changed to only derive these OS grains from/etc/os-release
. #61618 -
Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. #61619
-
Fix ssh config roster to correctly parse the ssh config files that contain spaces. #61650
-
Fix SoftLayer configuration not raising an exception when a domain is missing #61727
-
Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry #61789
-
Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. #61805
-
Fixed malformed state return when merge-serializing to an improperly formatted file #61814
-
Made cmdmod._run[_all]_quiet work during minion startup on MacOS with runas specified (which fixed mac_service) #61816
-
When deleting the vault cache, also delete from the session cache #61821
-
Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. #61827
-
win_lgpo: Display conflicting policy names when more than one policy is found #61859
-
win_lgpo: Fixed intermittent KeyError when getting policy setting using lgpo.get_policy #61860
-
Fixed listing minions on OpenBSD #61966
-
Make Salt to return an error on "pkg" modules and states when targeting duplicated package names #62019
-
Fix return of REST-returned permissions when auth_list is set #62022
-
Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. #62029
-
Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() #62030
-
Fix attr=all handling in pkg.list_pkgs() (yum/zypper). #62032
-
Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap #62053
-
Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias #62058
-
Fix ordering of args to libcloud_storage.download_object module #62074
-
Ignore extend declarations in sls files that are excluded. #62082
-
Remove leftover usage of impacket #62101
-
Pass executable path from _get_path_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. #62120
-
Ignore some command return codes in openbsdrcctl_service to prevent spurious errors #62131
-
Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". #62139
-
Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up #62152
-
Restored Salt's DeprecationWarnings #62185
-
Fixed issue with forward slashes on Windows with file.recurse and clean=True #62197
-
Recognize OSMC as Debian-based #62198
-
Fixed Zypper module failing on RPM lock file being temporarily unavailable. #62204
-
Improved error handling and diagnostics in the proxmox salt-cloud driver #62211
-
Added EndeavourOS to the Arch os_family. #62220
-
Fix salt-ssh not detecting
platform-python
as a valid interpreter on EL8 #62235 -
Fix pkg.version_cmp on openEuler and a few other os flavors. #62248
-
Fix localhost detection in glusterfs.peers #62273
-
Fix Salt Package Manager (SPM) exception when calling spm create_repo . #62281
-
Fix matcher slowness due to loader invocation #62283
-
Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. #62323
-
Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect #62334
-
Fix pyobjects renderer access to opts and sls #62336
-
Fix use of random shuffle and sample functions as Jinja filters #62372
-
Fix groups with duplicate GIDs are not returned by get_group_list #62377
-
Fix the "zpool.present" state when enabling zpool features that are already active. #62390
-
Fix ability to execute remote file client methods in saltcheck #62398
-
Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x #62400
-
Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. #62405
-
When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. #62408
-
Added directory mode for file.copy with makedirs #62426
-
Provide better error handling in the various napalm proxy minion functions when the device is not accessible. #62435
-
When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. #62439
-
The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module #62451
-
sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. #62461
-
Fixed parsing CDROM apt sources #62474
-
Update sanitizing masking for Salt SSH to include additional password like strings. #62483
-
Fix user/group checking on file state functions in the test mode. #62499
-
Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. #62502
-
Fix possible tracebacks if there is a package with '------' or '======' in the description is installed on the Debian based minion. #62519
-
Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver #62521
-
Fix rendering of pyobjects states in saltcheck #62523
-
Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt #62527
-
Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. #62546
-
Remove the connection_timeout from netmiko_connection_args before netmiko_connection_args is added to context["netmiko_device"]["args"] which is passed along to the Netmiko library. #62547
-
Fix order specific mount.mounted options for persist #62556
-
Fixed salt-cloud cloning a proxmox VM with a specified new vmid. #62558
-
Fix runas with cmd module when using the onedir bundled packages #62565
-
Update setproctitle version for all platforms #62576
-
Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver #62580
-
Handle PermissionError when importing crypt when FIPS is enabled. #62587
-
Correctly reraise exceptions in states.http #62595
-
Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. #62618
-
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. #62624
-
Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline #62633
-
Fixed vault ext pillar return data for KV v2 #62651
-
Fix saltcheck _get_top_states doesn't pass saltenv to state.show_top #62654
-
Fix groupadd.* functions hard code relative command name #62657
-
Fixed pdbedit.create trying to use a bytes-like hash as string. #62670
-
Fix depenency on legacy boto module in boto3 modules #62672
-
Modified "_get_flags" function so that it returns regex flags instead of integers #62676
-
Change startup ReqServer log messages from error to info level. #62728
-
Fix kmod.* functions hard code relative command name #62772
-
Fix mac_brew_pkg to work with null taps #62793
-
Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. #62795
-
Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode #62817
-
Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. #62818
-
Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly #62826
-
Remove Azure deprecation messages from functions that always run w/ salt-cloud #62845
-
Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 #62854
-
Fixed master job scheduler using when #62858
-
LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding #62873
-
Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. #62878
-
Fixed dockermod version_info function for docker-py 6.0.0+ #62882
-
Moving setting the LOAD_BALANCING_POLICY_MAP dictionary into the try except block that determines if the cassandra_cql module should be made available. #62886
-
Updating various MongoDB module functions to work with latest version of pymongo. #62900
-
Restored channel for Syndic minions to send job returns to the Salt master. #62933
-
removed _resolve_deps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. #62934
-
Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang #62937
-
Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. #62940
-
Fix systemd_service.* functions hard code relative command name #62942
-
Fix file.symlink backupname operation can copy remote contents to local disk #62953
-
Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts #62968
-
Fixed gpg_passphrase issue with gpg decrypt/encrypt functions #62977
-
Fix file.tidied FileNotFoundError #62986
-
Fixed bug where module.wait states were detected as running legacy module.run syntax #62988
-
Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start #62993
-
The
__opts__
dunder dictionary is now added to the loader'spack
if not already present, which makes it accessible via thesalt.loader.context.NamedLoaderContext
class. #63013 -
Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts #63024
-
Fix btrfs.subvolume_snapshot command failing #63025
-
Fix file.retention_schedule always reports changes #63033
-
Fix mongo authentication for mongo ext_pillar and mongo returner
This fix also include the ability to use the mongo connection string for mongo ext_pillar #63058
-
Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. #63103
-
TCP transport documentation now contains proper master/minion-side filtering information #63120
-
Fixed gpg.verify does not respect gnupghome #63145
-
Made pillar cache pass extra minion data as well #63208
-
Fix serious performance issues with the file.tidied module #63231
-
Fix rpm_lowpkg version comparison logic when using rpm-vercmp and only one version has a release number. #63317
-
Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available #63350
-
When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. #63590
-
LGPO: Added support for "Relax minimum password length limits" #63596
-
When a job is disabled only increase it's _next_fire_time value if the job would have run at the current time, eg. the current _next_fire_time == now. #63699
-
Check file is not empty before attempting to read pillar disk cache file #63729
-
fix cherrypy 400 error output to be less generic. #63835
-
remove eval and update logging to be more informative on bad config #63879
- Introduce a
LIB_STATE_DIR
syspaths variable which defaults toCONFIG_DIR
, but can be individually customized during installation by specifying--salt-lib-state-dir
during installation. Change the defaultpki_dir
to<LIB_STATE_DIR>/pki/master
(for the master) and<LIB_STATE_DIR>/pki/minion
(for the minion). #3396 - Allow users to enable 'queue=True' for all state runs via config file #31468
- Added pillar templating to vault policies #43287
- Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray #51088
- A new salt-ssh roster that generates a roster by parses a known_hosts file. #54679
- Added Windows Event Viewer support #54713
- Added the win_lgpo_reg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file #56013
- Added resource tagging functions to boto_dynamodb execution module #57500
- Added
openvswitch_db
state module and functionsbridge_to_parent
,bridge_to_vlan
,db_get
, anddb_set
to theopenvswitch
execution module. Also added optionalparent
andvlan
parameters to theopenvswitch_bridge.present
state module function and theopenvswitch.bridge_create
execution module function. #58986 - State module to manage SysFS attributes #60154
- Added ability for
salt.wait_for_event
to handleevent_id
s that have a list value. #60430 - Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) #60518
- Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. #60700
- Added .0 back to our versioning scheme for future versions (e.g. 3006.0) #60722
- Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. #61153
- Added node label support for GCE #61245
- Support the --priority flag when adding sources to Chocolatey. #61319
- Add namespace option to ext_pillar.http_json #61335
- Added a filter function to ps module to get a list of processes on a minion according to their state. #61420
- Add postgres.timeout option to postgres module for limiting postgres query times #61433
- Added new optional vault option,
config_location
. This can be eithermaster
orlocal
and defines where vault will look for connection details, either requesting them from the master or using the local config. #61857 - Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. #61931
- 'tcp' transport is now available in ipv6-only network #62009
- Add
diff_attr
parameter to pkg.upgrade() (zypper/yum). #62031 - Config option pass_variable_prefix allows to distinguish variables that contain paths to pass secrets. Config option pass_strict_fetch allows to error out when a secret cannot be fetched from pass. Config option pass_dir allows setting the PASSWORD_STORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. #62120
- Add file.pruned state and expanded file.rmdir exec module functionality #62178
- Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation #62275
- Added the ability to remove a KB using the DISM state/execution modules #62366
- Add " python" subcommand to allow execution or arbitrary scripts via bundled Python runtime #62381
- Add ability to provide conditions which convert normal state actions to no-op when true #62446
- Added debug log messages displaying the command being run when installing packages on Windows #62480
- Add biosvendor grain #62496
- Add ifelse Jinja function as found in CFEngine #62508
- Implementation of Amazon EC2 instance detection and setting
virtual_subtype
grain accordingly including the product if possible to identify. #62539 - Adds __env__substitution to ext_pillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in ext_pillar.stack #62578
- Increase file.tidied flexibility with regard to age and size #62678
- Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion #62761
- Add atomic file operation for symlink changes #62768
- Add password/account locking/unlocking in user.present state on supported operating systems #62856
- Added onchange configuration for script engine #62867
- Added output and bare functionality to export_key gpg module function #62978
- Add keyvalue serializer for environment files #62983
- Add ability to ignore symlinks in file.tidied #63042
- salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' #63067
- Add ability for file.symlink to not set ownership on existing links #63093
- Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation #63095
- Add functions that will return the underlying block device, mount point, and filesystem type for a given path #63098
- Add ethtool execution and state module functions for pause #63128
- Add boardname grain #63131
- Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63248
- Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63249
- Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. #63315
- Adds a state_events option to state.highstate, state.apply, state.sls, state.sls_id. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. #63316
- Allow max queue size setting for state runs to prevent performance problems from queue growth #63356
- Add support of exposing meta_server_grains for Azure VMs #63606
- Include the version of
relenv
in the versions report. #63827 - Added debug log messages displaying the command being run when removing packages on Windows #63866
-
Remove and deprecate the orchestration key from salt.runner and salt.wheel return data. To get it back, set features.enable_deprecated_orchestration_flag master configuration option to True. The flag will be completely removed in Salt 3008 Argon. #59917
-
Removed distutils and replaced with setuptools, given distutils is deprecated and removed in Python 3.12 #60476
-
Removed
runtests
targets fromnoxfile.py
#62239 -
Removed the PyObjC dependency.
This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. #62432
- renamed
keep_jobs
, specifying job cache TTL in hours, tokeep_jobs_seconds
, specifying TTL in seconds.keep_jobs
will be removed in the Argon release #55295 - Removing all references to napalm-base which is no longer supported. #61542
- The 'ip_bracket' function has been moved from salt/utils/zeromq.py in salt/utils/network.py #62009
- The
expand_repo_def
function insalt.modules.aptpkg
is now deprecated. It's only used insalt.states.pkgrepo
and it has no use of being exposed to the CLI. #62485 - Deprecated defunct Django returner #62644
- Deprecate core ESXi and associated states and modules, vcenter and vsphere support in favor of Salt VMware Extensions #62754
- Removing manufacture grain which has been deprecated. #62914
- Removing deprecated utils/boto3_elasticsearch.py #62915
- Removing support for the now deprecated _ext_nodes from salt/master.py. #62917
- Deprecating the Salt Slack engine in favor of the Salt Slack Bolt Engine. #63095
salt.utils.version.StrictVersion
is now deprecated and it's use should be replaced withsalt.utils.version.Version
. #63383
- More intelligent diffing in changes of file.serialize state. #48609
- Move deprecation of the neutron module to Argon. Please migrate to the neutronng module instead. #49430
umask
is now a global state argument, instead of only applying tocmd
states. #57803- Update pillar.obfuscate to accept kwargs in addition to args. This is useful when passing in keyword arguments like saltenv that are then passed along to pillar.items. #58971
- Improve support for listing macOS brew casks #59439
- Add missing MariaDB Grants to mysql module.
MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating.
Also improved exception handling in
grant_add
which did not log the original error message and replaced it with a generic error. #61409 - Use VENV_PIP_TARGET environment variable as a default target for pip if present. #62089
- Disabled FQDNs grains on macOS by default #62168
- Replaced pyroute2.IPDB with pyroute2.NDB, as the former is deprecated #62218
- Enhance capture of error messages for Zypper calls in zypperpkg module. #62346
- Removed GPG_1_3_1 check #62895
- Requisite state chunks now all consistently contain
__id__
,__sls__
andname
. #63012 - netapi_enable_clients option to allow enabling/disabling of clients in salt-api. By default all clients will now be disabled. Users of salt-api will need to update their master config to enable the clients that they use. Not adding the netapi_enable_clients option with required clients to the master config will disable salt-api. #63050
- Stop relying on
salt/_version.py
to write Salt's version. Instead usesalt/_version.txt
which only contains the version string. #63383 - Set enable_fqdns_grains to be False by default. #63595
- Changelog snippet files must now have a
.md
file extension to be more explicit on what type of rendering is done when they are included in the mainCHANGELOG.md
file. #63710
-
Add kwargs to handle extra parameters for http.query #36138
-
Fix mounted bind mounts getting active mount options added #39292
-
Fix
sysctl.present
converts spaces to tabs. #40054 -
Fixes state pkg.purged to purge removed packages on Debian family systems #42306
-
Fix fun_args missing from syndic returns #45823
-
Fix mount.mounted with 'mount: False' reports unmounted file system as unchanged when running with test=True #47201
-
Issue #49310: Allow users to touch a file with Unix date of birth #49310
-
Do not raise an exception in pkg.info_installed on nonzero return code #51620
-
Passes the value of the force parameter from file.copy to its call to file.remove so that files with the read-only attribute are handled. #51739
-
Fixed x509.certificate_managed creates new certificate every run in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #52167
-
Don't check for cached pillar errors on state.apply #52354, #57180, #59339
-
Swapping out args and kwargs for arg and kwarg respectively in the Slack engine when the command passed is a runner. #52400
-
Ensure when we're adding chunks to the rules when running aggregation with the iptables state module we use a copy of the chunk otherwise we end up with a recursive mess. #53353
-
When user_create or user_remove fail, return False instead of returning the error. #53377
-
Include sync_roster when sync_all is called. #53914
-
Avoid warning noise in lograte.get #53988
-
Fixed listing revoked keys with gpg.list_keys #54347
-
Fix mount.mounted does not handle blanks properly #54508
-
Fixed grain num_cpus get wrong CPUs count in case of inconsistent CPU numbering. #54682
-
Fix spelling error for python_shell argument in dpkg_lower module #54907
-
Cleaned up bytes response data before sending to non-bytes compatible returners (postgres, mysql) #55226
-
Fixed malformed state return when testing file.managed with unavailable source file #55269
-
Included stdout in error message for Zypper calls in zypperpkg module. #56016
-
Fixed pillar.filter_by with salt-ssh #56093
-
Fix boto_route53 issue with (multiple) VPCs. #57139
-
Remove log from mine runner which was not used. #57463
-
Fixed x509.read_certificate error when reading a Microsoft CA issued certificate in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #57535
-
Updating Slack engine to use slack_bolt library. #57842
-
Fixed warning about replace=True with x509.certificate_managed in the new cryptography x509 module. #58165
-
Fix salt.modules.pip:is_installed doesn't handle locally installed packages #58202
-
Add missing MariaDB Grants to mysql module. MariaDB has added some grants in 10.4.x and 10.5.x that are not present here, which results in an error when creating. #58297
-
linux_shadow: Fix cases where malformed shadow entries cause
user.present
states to fail. #58423 -
Fixed salt.utils.compat.cmp to work with dictionaries #58729
-
Fixed formatting for terse output mode #58953
-
Fixed RecursiveDictDiffer with added nested dicts #59017
-
Fixed x509.certificate_managed has DoS effect on master in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59169
-
Fixed saltnado websockets disconnecting immediately #59183
-
Fixed x509.certificate_managed rolls certificates every now and then in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #59315
-
Fix postgres_privileges.present not idempotent for functions #59585
-
Fixed influxdb_continuous_query.present state to provide the client args to the underlying module on create. #59766
-
Warn when using insecure (http:// based) key_urls for apt-based systems in pkgrepo.managed, and add a kwarg that determines the validity of such a url. #59786
-
add load balancing policy default option and ensure the module can be executed with arguments from CLI #59909
-
Fix salt-ssh when using imports with extra-filerefs. #60003
-
Fixed cache directory corruption startup error #60170
-
Update docs remove dry_run in docstring of file.blockreplace state. #60227
-
Adds Parrot to OS_Family_Map in grains. #60249
-
Fixed stdout and stderr being empty sometimes when use_vt=True for the cmd.run[*] functions #60365
-
Use return code in iptables --check to verify rule exists. #60467
-
Fix regression pip.installed does not pass env_vars when calling pip.list #60557
-
Fix xfs module when additional output included in mkfs.xfs command. #60853
-
Fixed parsing new format of terraform states in roster.terraform #60915
-
Fixed recognizing installed ARMv7 rpm packages in compatible architectures. #60994
-
Fixing changes dict in pkg state to be consistent when installing and test=True. #60995
-
Fix cron.present duplicating entries when changing timespec to special. #60997
-
Made salt-ssh respect --wipe again #61083
-
state.orchestrate_single only passes a pillar if it is set to the state function. This allows it to be used with state functions that don't accept a pillar keyword argument. #61092
-
Fix ipset state when the comment kwarg is set. #61122
-
Fix issue with archive.unzip where the password was not being encoded for the extract function #61422
-
Some Linux distributions (like AlmaLinux, Astra Linux, Debian, Mendel, Linux Mint, Pop!_OS, Rocky Linux) report different
oscodename
,osfullname
,osfinger
grains if lsb-release is installed or not. They have been changed to only derive these OS grains from/etc/os-release
. #61618 -
Pop!_OS uses the full version (YY.MM) in the osfinger grain now, not just the year. This allows differentiating for example between 20.04 and 20.10. #61619
-
Fix ssh config roster to correctly parse the ssh config files that contain spaces. #61650
-
Fix SoftLayer configuration not raising an exception when a domain is missing #61727
-
Allow the minion to start or salt-call to run even if the user doesn't have permissions to read the root_dir value from the registry #61789
-
Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. #61805
-
Fixed malformed state return when merge-serializing to an improperly formatted file #61814
-
Made cmdmod._run[_all]_quiet work during minion startup on MacOS with runas specified (which fixed mac_service) #61816
-
When deleting the vault cache, also delete from the session cache #61821
-
Ignore errors on reading license info with dpkg_lowpkg to prevent tracebacks on getting package information. #61827
-
win_lgpo: Display conflicting policy names when more than one policy is found #61859
-
win_lgpo: Fixed intermittent KeyError when getting policy setting using lgpo.get_policy #61860
-
Fixed listing minions on OpenBSD #61966
-
Make Salt to return an error on "pkg" modules and states when targeting duplicated package names #62019
-
Fix return of REST-returned permissions when auth_list is set #62022
-
Normalize package names once on using pkg.installed/removed with yum to make it possible to install packages with the name containing a part similar to a name of architecture. #62029
-
Fix inconsitency regarding name and pkgs parameters between zypperpkg.upgrade() and yumpkg.upgrade() #62030
-
Fix attr=all handling in pkg.list_pkgs() (yum/zypper). #62032
-
Fixed the humanname being ignored in pkgrepo.managed on openSUSE Leap #62053
-
Fixed issue with some LGPO policies having whitespace at the beginning or end of the element alias #62058
-
Fix ordering of args to libcloud_storage.download_object module #62074
-
Ignore extend declarations in sls files that are excluded. #62082
-
Remove leftover usage of impacket #62101
-
Pass executable path from _get_path_exec() is used when calling the program. The $HOME env is no longer modified globally. Only trailing newlines are stripped from the fetched secret. Pass process arguments are handled in a secure way. #62120
-
Ignore some command return codes in openbsdrcctl_service to prevent spurious errors #62131
-
Fixed extra period in filename output in tls module. Instead of "server.crt." it will now be "server.crt". #62139
-
Make sure lingering PAexec-*.exe files in the Windows directory are cleaned up #62152
-
Restored Salt's DeprecationWarnings #62185
-
Fixed issue with forward slashes on Windows with file.recurse and clean=True #62197
-
Recognize OSMC as Debian-based #62198
-
Fixed Zypper module failing on RPM lock file being temporarily unavailable. #62204
-
Improved error handling and diagnostics in the proxmox salt-cloud driver #62211
-
Added EndeavourOS to the Arch os_family. #62220
-
Fix salt-ssh not detecting
platform-python
as a valid interpreter on EL8 #62235 -
Fix pkg.version_cmp on openEuler and a few other os flavors. #62248
-
Fix localhost detection in glusterfs.peers #62273
-
Fix Salt Package Manager (SPM) exception when calling spm create_repo . #62281
-
Fix matcher slowness due to loader invocation #62283
-
Fixes the Puppet module for non-aio Puppet packages for example running the Puppet module on FreeBSD. #62323
-
Issue 62334: Displays a debug log message instead of an error log message when the publisher fails to connect #62334
-
Fix pyobjects renderer access to opts and sls #62336
-
Fix use of random shuffle and sample functions as Jinja filters #62372
-
Fix groups with duplicate GIDs are not returned by get_group_list #62377
-
Fix the "zpool.present" state when enabling zpool features that are already active. #62390
-
Fix ability to execute remote file client methods in saltcheck #62398
-
Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x #62400
-
Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. #62405
-
When using preq on a state, then prereq state will first be run with test=True to determine if there are changes. When there are changes, the state with the prereq option will be run prior to the prereq state. If this state fails then the prereq state will not run and the state output uses the test=True run. However, the proposed changes are included for the prereq state are included from the test=True run. We should pull those out as there weren't actually changes since the prereq state did not run. #62408
-
Added directory mode for file.copy with makedirs #62426
-
Provide better error handling in the various napalm proxy minion functions when the device is not accessible. #62435
-
When handling aggregation, change the order to ensure that the requisites are aggregated first and then the state functions are aggregated. Caching whether aggregate functions are available for particular states so we don't need to attempt to load them everytime. #62439
-
The patch allows to boostrap kubernetes clusters in the version above 1.13 via salt module #62451
-
sysctl.persist now updates the in-memory value on FreeBSD even if the on-disk value was already correct. #62461
-
Fixed parsing CDROM apt sources #62474
-
Update sanitizing masking for Salt SSH to include additional password like strings. #62483
-
Fix user/group checking on file state functions in the test mode. #62499
-
Fix user.present to allow removing groups using optional_groups parameter and enforcing idempotent group membership. #62502
-
Fix possible tracebacks if there is a package with '------' or '======' in the description is installed on the Debian based minion. #62519
-
Fixed the omitted "pool" parameter when cloning a VM with the proxmox salt-cloud driver #62521
-
Fix rendering of pyobjects states in saltcheck #62523
-
Fixes pillar where a corrupted CacheDisk file forces the pillar to be rebuilt #62527
-
Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. #62546
-
Remove the connection_timeout from netmiko_connection_args before netmiko_connection_args is added to context["netmiko_device"]["args"] which is passed along to the Netmiko library. #62547
-
Fix order specific mount.mounted options for persist #62556
-
Fixed salt-cloud cloning a proxmox VM with a specified new vmid. #62558
-
Fix runas with cmd module when using the onedir bundled packages #62565
-
Update setproctitle version for all platforms #62576
-
Fixed missing parameters when cloning a VM with the proxmox salt-cloud driver #62580
-
Handle PermissionError when importing crypt when FIPS is enabled. #62587
-
Correctly reraise exceptions in states.http #62595
-
Fixed syndic eauth. Now jobs will be published when a valid eauth user is targeting allowed minions/functions. #62618
-
updated rest_cherry/app to properly detect arg sent as a string as curl will do when only one arg is supplied. #62624
-
Prevent possible tracebacks in core grains module by ignoring non utf8 characters in /proc/1/environ, /proc/1/cmdline, /proc/cmdline #62633
-
Fixed vault ext pillar return data for KV v2 #62651
-
Fix saltcheck _get_top_states doesn't pass saltenv to state.show_top #62654
-
Fix groupadd.* functions hard code relative command name #62657
-
Fixed pdbedit.create trying to use a bytes-like hash as string. #62670
-
Fix depenency on legacy boto module in boto3 modules #62672
-
Modified "_get_flags" function so that it returns regex flags instead of integers #62676
-
Change startup ReqServer log messages from error to info level. #62728
-
Fix kmod.* functions hard code relative command name #62772
-
Fix mac_brew_pkg to work with null taps #62793
-
Fixing a bug when listing the running schedule if "schedule.enable" and/or "schedule.disable" has been run, where the "enabled" items is being treated as a schedule item. #62795
-
Prevent annoying RuntimeWarning message about line buffering (buffering=1) not being supported in binary mode #62817
-
Include UID and GID checks in modules.file.check_perms as well as comparing ownership by username and group name. #62818
-
Fix presence events on TCP transport by removing a client's presence when minion disconnects from publish channel correctly #62826
-
Remove Azure deprecation messages from functions that always run w/ salt-cloud #62845
-
Use select instead of iterating over entrypoints as a dictionary for importlib_metadata>=5.0.0 #62854
-
Fixed master job scheduler using when #62858
-
LGPO: Added support for missing domain controller policies: VulnerableChannelAllowList and LdapEnforceChannelBinding #62873
-
Fix unnecessarily complex gce metadata grains code to use googles metadata service more effectively. #62878
-
Fixed dockermod version_info function for docker-py 6.0.0+ #62882
-
Moving setting the LOAD_BALANCING_POLICY_MAP dictionary into the try except block that determines if the cassandra_cql module should be made available. #62886
-
Updating various MongoDB module functions to work with latest version of pymongo. #62900
-
Restored channel for Syndic minions to send job returns to the Salt master. #62933
-
removed _resolve_deps as it required a library that is not generally avalible. and switched to apt-get for everything as that can auto resolve dependencies. #62934
-
Updated pyzmq to version 22.0.3 on Windows builds because the old version was causing salt-minion/salt-call to hang #62937
-
Allow root user to modify crontab lines for non-root users (except AIX and Solaris). Align crontab line changes with the file ones and also with listing crontab. #62940
-
Fix systemd_service.* functions hard code relative command name #62942
-
Fix file.symlink backupname operation can copy remote contents to local disk #62953
-
Issue #62968: Fix issue where cloud deployments were putting the keys in the wrong location on Windows hosts #62968
-
Fixed gpg_passphrase issue with gpg decrypt/encrypt functions #62977
-
Fix file.tidied FileNotFoundError #62986
-
Fixed bug where module.wait states were detected as running legacy module.run syntax #62988
-
Fixed issue with win_wua module where it wouldn't load if the CryptSvc was set to Manual start #62993
-
The
__opts__
dunder dictionary is now added to the loader'spack
if not already present, which makes it accessible via thesalt.loader.context.NamedLoaderContext
class. #63013 -
Issue #63024: Fix issue where grains and config data were being place in the wrong location on Windows hosts #63024
-
Fix btrfs.subvolume_snapshot command failing #63025
-
Fix file.retention_schedule always reports changes #63033
-
Fix mongo authentication for mongo ext_pillar and mongo returner
This fix also include the ability to use the mongo connection string for mongo ext_pillar #63058
-
Fixed x509.create_csr creates invalid CSR by default in the new cryptography x509 module. #63103
-
TCP transport documentation now contains proper master/minion-side filtering information #63120
-
Fixed gpg.verify does not respect gnupghome #63145
-
Made pillar cache pass extra minion data as well #63208
-
Fix serious performance issues with the file.tidied module #63231
-
Import StrictVersion and LooseVersion from setuptools.distutils.verison or setuptools._distutils.version, if first not available #63350
-
When the shell is passed as powershell or pwsh, only wrapper the shell in quotes if cmd.run is running on Windows. When quoted on Linux hosts, this results in an error when the keyword arguments are appended. #63590
-
LGPO: Added support for "Relax minimum password length limits" #63596
-
Check file is not empty before attempting to read pillar disk cache file #63729
- Introduce a
LIB_STATE_DIR
syspaths variable which defaults toCONFIG_DIR
, but can be individually customized during installation by specifying--salt-lib-state-dir
during installation. Change the defaultpki_dir
to<LIB_STATE_DIR>/pki/master
(for the master) and<LIB_STATE_DIR>/pki/minion
(for the minion). #3396 - Allow users to enable 'queue=True' for all state runs via config file #31468
- Added pillar templating to vault policies #43287
- Add support for NVMeF as a transport protocol for hosts in a Pure Storage FlashArray #51088
- A new salt-ssh roster that generates a roster by parses a known_hosts file. #54679
- Added Windows Event Viewer support #54713
- Added the win_lgpo_reg state and execution modules which will allow registry based group policy to be set directly in the Registry.pol file #56013
- Added resource tagging functions to boto_dynamodb execution module #57500
- Added
openvswitch_db
state module and functionsbridge_to_parent
,bridge_to_vlan
,db_get
, anddb_set
to theopenvswitch
execution module. Also added optionalparent
andvlan
parameters to theopenvswitch_bridge.present
state module function and theopenvswitch.bridge_create
execution module function. #58986 - State module to manage SysFS attributes #60154
- Added ability for
salt.wait_for_event
to handleevent_id
s that have a list value. #60430 - Added suport for Linux ppc64le core grains (cpu_model, virtual, productname, manufacturer, serialnumber) and arm core grains (serialnumber, productname) #60518
- Added autostart option to virt.defined and virt.running states, along with virt.update execution modules. #60700
- Added .0 back to our versioning scheme for future versions (e.g. 3006.0) #60722
- Initial work to allow parallel startup of proxy minions when used as sub proxies with Deltaproxy. #61153
- Added node label support for GCE #61245
- Support the --priority flag when adding sources to Chocolatey. #61319
- Add namespace option to ext_pillar.http_json #61335
- Added a filter function to ps module to get a list of processes on a minion according to their state. #61420
- Add postgres.timeout option to postgres module for limiting postgres query times #61433
- Added new optional vault option,
config_location
. This can be eithermaster
orlocal
and defines where vault will look for connection details, either requesting them from the master or using the local config. #61857 - Add ipwrap() jinja filter to wrap IPv6 addresses with brackets. #61931
- 'tcp' transport is now available in ipv6-only network #62009
- Add
diff_attr
parameter to pkg.upgrade() (zypper/yum). #62031 - Config option pass_variable_prefix allows to distinguish variables that contain paths to pass secrets. Config option pass_strict_fetch allows to error out when a secret cannot be fetched from pass. Config option pass_dir allows setting the PASSWORD_STORE_DIR env for pass. Config option pass_gnupghome allows setting the $GNUPGHOME env for pass. #62120
- Add file.pruned state and expanded file.rmdir exec module functionality #62178
- Added "dig.PTR" function to resolve PTR records for IPs, as well as tests and documentation #62275
- Added the ability to remove a KB using the DISM state/execution modules #62366
- Add " python" subcommand to allow execution or arbitrary scripts via bundled Python runtime #62381
- Add ability to provide conditions which convert normal state actions to no-op when true #62446
- Added debug log messages displaying the command being run when installing packages on Windows #62480
- Add biosvendor grain #62496
- Add ifelse Jinja function as found in CFEngine #62508
- Implementation of Amazon EC2 instance detection and setting
virtual_subtype
grain accordingly including the product if possible to identify. #62539 - Adds __env__substitution to ext_pillar.stack; followup of #61531, improved exception handling for stacked template (jinja) template rendering and yaml parsing in ext_pillar.stack #62578
- Increase file.tidied flexibility with regard to age and size #62678
- Added "connected_devices" feature to netbox pillar module. It contains extra information about devices connected to the minion #62761
- Add atomic file operation for symlink changes #62768
- Add password/account locking/unlocking in user.present state on supported operating systems #62856
- Added onchange configuration for script engine #62867
- Added output and bare functionality to export_key gpg module function #62978
- Add keyvalue serializer for environment files #62983
- Add ability to ignore symlinks in file.tidied #63042
- salt-cloud support IMDSv2 tokens when using 'use-instance-role-credentials' #63067
- Add ability for file.symlink to not set ownership on existing links #63093
- Restore the previous slack engine and deprecate it, rename replace the slack engine to slack_bolt until deprecation #63095
- Add functions that will return the underlying block device, mount point, and filesystem type for a given path #63098
- Add ethtool execution and state module functions for pause #63128
- Add boardname grain #63131
- Added management of ECDSA/EdDSA private keys with x509 modules in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63248
- Added x509 modules support for different output formats in the new cryptography x509 module. Please migrate to the new cryptography x509 module for this improvement. #63249
- Added deprecation_warning test state for ensuring that deprecation warnings are correctly emitted. #63315
- Adds a state_events option to state.highstate, state.apply, state.sls, state.sls_id. This allows users to enable state_events on a per use basis rather than having to enable them globally for all state runs. #63316
- Allow max queue size setting for state runs to prevent performance problems from queue growth #63356
- Add support of exposing meta_server_grains for Azure VMs #63606
- Fix arch parsing issue in apt source files (#62247)
- Fixed parsing CDROM apt sources (#62474)
- Use str() method instead of repo_line for when python3-apt is installed or not in aptpkg.py. (#62546)
- Remove the connection_timeout from netmiko_connection_args before netmiko_connection_args is added to context["netmiko_device"]["args"] which is passed along to the Netmiko library. (#62547)
- fixes #62553 by checking for disabled master_type before starting master connection and skipping it if set. (#62553)
- Fix runas with cmd module when using the onedir bundled packages (#62565)
- Fix the Pyinstaller hooks to preserve the environment if None is passed. (#62567, #62628)
- pkgrepo.managed sets wrong permissions on keys installed to /etc/apt/keyring (#62569)
- pkgrepo.managed creates zero byte gpg files when dearmoring contents to the same filename (#62570)
- Ensure default values for IPC Buffers are correct type (#62591)
- Fix a hang on salt-ssh when using sudo. (#62603)
- Renderers now have access to the correct set of salt functions. (#62610, #62620)
- Fix including Jinja template from absolute path (#62611)
- include jmespath in package requirements (#62613)
- Fix pkgrepo.managed signed-by in test=true mode (#62662)
- Ensure the status of the service is captured when the beacon function is called, even when the event is not being emitted. (#62675)
- The sub proxies controlled by Deltaproxy need to have their own req_channel otherwise there are timeout exceptions when the __master_req_channel_payload is fired and reacted on. (#62708)
-
Deprecating and removing salt-unity. (#56055)
-
Removed support for macos mojave (#61130)
-
Removed
salt.utils.MultiprocessingProcess
andsalt.utils.SignalHandlingMultiprocessingProcess
. Please usesalt.utils.Process
andsalt.utils.SignalHandlingProcess
instead. (#61573) -
Remove the grains.get_or_set_hash function. Please reference pillar and SDB documentation for secure ways to manage sensitive information. Grains are an insecure way to store secrets. (#61691)
-
Removed the
telnet_port
,serial_type
andconsole
parameters in salt/modules/virt.py. Use theserials
andconsoles
parameters instead. Use theserials
parameter with a value like{{{{'type': 'tcp', 'protocol': 'telnet', 'port': {}}}}}
instead and a similarconsoles
parameter. (#61693) -
Remove remove_lock in zypperpkg.py in favor of unhold. Remove add_lock in zypperpkg.py in favor of hold. (#61694)
-
Removed support for old-style Windows Group Policy names Recommended policy names will be displayed in comments (#61696)
-
Remove the feature flag feature.enable_slsvars_fixes and enable the fixes for
sls_path
,tpl_file
, andtpldir
by default. Enabling this behavior by default will fix the following:- tpldir: If your directory name and your SLS file name are the same tpldir used to return a ., now it returns the correct directory name.
- slspath,slsdotpath,slscolonpath,sls_path: If an init.sls file is accessed by its explicit name path.to.init instead of path.to, init shows up as a directory for in various sls context parameters, now it will only show as a file.
- tplfile: When using tplfile in a SLS file in the root directory of file roots it returns empty. Now it returns the filename. (#61697)
-
Remove SaltMessageServer.shutdown in favor of close. Remove LoadBalancerWorker.stop in favor of close. (#61698)
-
Removed the PyObjC dependency.
This addresses problems with building a one dir build for macOS. It became problematic because depending on the macOS version, it pulls different dependencies, and we would either have to build a macos onedir for each macOS supported release, or ship a crippled onedir(because it would be tied to the macOS version where the onedir was built). Since it's currently not being used, it's removed. (#62432)
- In etcd_util, the recursive kwarg in the read and delete methods has been deprecated in favor of recurse for both client versions. In etcd_util, the index kwarg in the watch method has been deprecated in favor of start_revision for both client versions. In etcd_util, the waitIndex kwarg in the read method has been deprecated in favor of start_revision for both client versions. The etcd API v2 implementation has been deprecated in favor of etcd API v3. (#60325)
- Deprecated transport kwarg inside salt.utils.event.get_event (#61275)
- Deprecated netmiko_conn and pyeapi_conn in napalm_mod.py as these function should not be called from the CLI (#61566)
- Deprecate all Azure cloud modules (#62183)
- Deprecated
defaults
andpreserve_context
forsalt.utils.functools.namespaced_function
. Additionally, the behavior whenpreserve_namespace=True
was passed is now the default in order not to require duplicating imports on the modules that are namespacing functions. (#62272) - Deprecated the cassandra module in favor of the cassandra_cql module/returner. (#62327)
- alternatives: Do not access /var/lib/dpkg/alternatives directly (#58745)
- Enhance logging when there are errors at loading beacons (#60402)
- Updated mysql cache module to also store updated timestamp, making it consistent with default cache module. Users of mysql cache should ensure database size before updating, as ALTER TABLE will add the timestamp column. (#61081)
- Changed linux_shadow to test success of commands using cmd.retcode instead of cmd.run (#61932)
zabbix.user_get
returns full user info with groups and mediaszabbix.user_addmedia
returns error for Zabbix 4.0+ due touser.addmedia
method removalzabbix.user_deletemedia
returns error for Zabbix 4.0+ due touser.deletemedia
method removal (#62012)- "Sign before ending the testrun in x509.create_certificate" (#62100)
-
Fix salt-ssh using sudo with a password (#8882)
-
Fix SSH password regex to not search for content after password:. (#25721)
-
Addressing a few issues when having keep_symlinks set to True with file.recurse. Also allow symlinks that are outside the salt fileserver root to be discoverable as symlinks when fileserver_followsymlinks is set to False. (#29562)
-
serialize to JSON only non string objects. (#35215)
-
Fix archive.extracted doesn't set user/group ownership correctly (#38605)
-
Make sys.argspec work on functions with annotations (#48735)
-
Fixed pdbedit.list_users with Samba 4.8 (#49648)
-
Fixes a scenario where ipv6 is enabled but the master is configured as an ipv4 IP address. (#49835)
-
Ensure that NOTIFY_SOCKET is not passed to child processes created with cmdmod unless it's set explicitly for such call. (#50851)
-
remove escaping of dbname in mysql.alter_db function. (#51559)
-
Fix runit module failing to find service if it is not symlinked. (#52759)
-
Changed manage.versions to report minions offline if minion call fails. (#53513)
-
Fixed events stream from /events endpoint not halting when auth token has expired. (#53742)
-
Fixed user.present which was breaking when updating workphone,homephone, fullname and "other" fields in case int was passed instead of string (#53961)
-
Fix error in webutil state module when attempting to grep a file that does not exist. (#53977)
-
Fixed ability to modify the "Audit: Force audit policy subcategory settings..." policy (#54301)
-
Fix timeout handling in netapi/saltnado. (#55394)
-
Fixing REST auth so that we actually support using ACLs from the REST server like we said in the documentation. (#55654)
-
Salt now correctly handles macOS after Py3.8 where python defaults to spawn instead of fork. (#55847)
-
Factor out sum and sorting of permissions into separate functions. Additionally, the same logic was applied to the rest_cherrypy netapi (#56495)
-
Display packages that are marked NoRemove in pkg.list_pkgs for Windows platforms (#56864)
-
Attempt to fix 56957 by detecting the broken recusion and stopping it. (#56957)
-
Fixed bytes vs. text issue when using sqlite for sdb backend. (#57133)
-
Ensure test is added to opts when using the state module with salt-ssh. (#57144)
-
Fixed RuntimeError OrderedDict mutated in network.managed for Debian systems. (#57721)
-
Improved the multiprocessing classes to better handle spawning platforms (#57742)
-
Config options are enforced according to config type (#57873)
-
fixed 57992 fix multi item kv v2 items read. (#57992)
-
Fixed thread leak during FQDN lookup when DNS entries had malformed PTR records, or other similar issues. (#58141)
-
Remove unnecessary dot in template that cause the bridge interface to fail on debian. Fixes #58195 (#58195)
-
update salt.module.schedule to check the job_args and job_kwargs for valid formatting. (#58329)
-
Allowe use of
roster
in salt.function state when using the SSH client. (#58662) -
Detect new and legacy styles of calling module.run and support them both. (#58763)
-
Clean repo uri before checking if it's present, avoiding ghost change. (#58807)
-
Fix error "'opts' is not defined" when using the boto v2 modules (#58934)
-
hgfs: fix bytes vs str issues within hgfs. (#58963)
-
Fixes salt-ssh error when targetting IPs or hostnames directly. (#59033)
-
Allow for multiple configuration entries with keyword strict_config=False on yum-based systems (#59090)
-
Fixed error when running legacy code in winrepo.update_git_repos (#59101)
-
Clarify the persist argument in the scheduler module. Adding code in the list function to indicate if the schedule job is saved or not. (#59102)
-
Swap ret["retcode"] for ret.get("retcode") in the event that there is no retcode, eg. when a function is not passed with a module. (#59331)
-
Fix race condition when caching vault tokens (#59361)
-
The ssh module now accepts all ssh public key types as of openssh server version 8.7. (#59429)
-
Set default transport and port settings for Napalm NXOS, if not set. (#59448)
-
Use salt_system_encoding when retrieving keystore certificate SHA1 str (#59503)
-
Fix error being thrown on empty flags list given to file.replace (#59554)
-
Update url for ez_setup.py script in virtualenv_mod.py (#59604)
-
Changed yumpkg module to normalize versions to strings when they were ambiguously floats (example version=3005.0). (#59705)
-
Fix pillar_roots.write on subdirectories broken after CVE-2021-25282 patch. (#59935)
-
Improved performance of zfs.filesystem_present and zfs.volume_present. When applying these states, only query specified ZFS properties rather than all properties. (#59970)
-
Fixed highstate outputter not displaying with salt.function in orchestration when module returns a dictionary. (#60029)
-
Update docs where python-dateutil is required for schedule. (#60070)
-
Send un-parsed username to LookupAccountName function (#60076)
-
Fix ability to set propagation on a folder to "this_folder_only" (#60103)
-
Fix name attribute access error in spm. (#60106)
-
Fix zeromq stream.send exception message (#60228)
-
Exit gracefully on ctrl+c. (#60242)
-
Corrected import statement for redis_cache in cluster mode. (#60272)
-
loader: Fix loading grains with annotations (#60285)
-
fix docker_network.present when com.docker.network.bridge.name is being used as the unixes can not have a bridge of the same name (#60316)
-
Fix exception in yumpkg.remove for not installed package on calling pkg.remove or pkg.removed (#60356)
-
Batch runs now return proper retcodes in a tuple of the form (result, retcode) (#60361)
-
Fixed issue with ansible roster virtual when ansible is not installed. (#60370)
-
Fixed error being thrown when None was passed as src/defaults or dest to defaults.update and defaults.merge (#60431)
-
Allow for additional options for xmit hash policy in mode 4 NIC bonding on Redhat (#60583)
-
Properly detect VMware grains on Windows Server 2019+ (#60593)
-
Allow for minion failure to respond to job sent in batch mode (#60724)
-
The mac assistive execution module no longer shells out to change the database. (#60819)
-
Fix regression in win_timezone.get_zone which failed to resolve specific timezones that begin or end with d/s/t/o/f/_ characters (#60829)
-
The TCP transport resets it's unpacker on stream disconnects (#60831)
-
Moving the call to the validate function earlier to ensure that beacons are in the right format before we attempt to do anything to the configuration. Adding a generic validation to ensure the beacon configuration is in the wrong format when a validation function does not exist. (#60838)
-
Update the mac installer welcome and conclusion page, add docs for the salt-config tool (#60858)
-
Fixed external node classifier not callable due to wrong parameter (#60872)
-
Adjust Debian/Ubuntu package use of name 'ifenslave-2.6' to 'ifenslave' (#60876)
-
Clear and update the Pillar Cache when running saltutil.refresh_pillar. This only affects users that have
pillar_cache
set to True. If you do not want to clear the cache you can pass the kwargclean_cache=False
tosaltutil.refresh_pillar
. (#60897) -
Handle the situation when apt repo lines have or do not have trailing slashes properly. (#60907)
-
Fixed Python 2 syntax for Python 3, allow for view objects returned by dictionary keys() function (#60909)
-
Fix REST CherryPY append the default permissions every request (#60955)
-
Do not consider "skipped" targets as failed for "ansible.playbooks" states (#60983)
-
Fix behavior for internal "_netlink_tool_remote_on" to filter results based on requested end (#61017)
-
schedule.job_status module: Convert datetime objects into formatted strings (#61043)
-
virt: don't crash if console doesn't have service or type attribute (#61054)
-
Fixed conflict between importlib_metada from Salt and importlib.metadata from Python 3.10 (#61062)
-
sys.argspec now works with pillar.get, vault.read_secret, and vault.list_secrets (#61084)
-
Set virtual grain on FreeBSD EC2 instances (#61094)
-
Fixed v3004 windows minion failing to open log file at C:\ProgramData\Salt Project\Salt\var\log\salt\minion (#61113)
-
Correct returned result to False when an error exception occurs for pip.installed (#61117)
-
fixed extend being too strict and wanting the system_type to exist when it is only needed for requisites. (#61121)
-
Fixed bug where deserialization in script engine would throw an error after all output was read. (#61124)
-
Adding missing import for salt.utils.beacons into beacons that were updated to use it. (#61135)
-
added exception catch to salt.utils.vt.terminal.isalive(). (#61160)
-
Re-factor transport to make them more plug-able (#61161)
-
Remove max zeromq pinned version due to issues on FreeBSD (#61163)
-
Fixing deltaproxy code to handle the situation where the control proxy is configured to control a proxy minion whose pillar data could not be loaded. (#61172)
-
Prevent get_tops from performing a Set operation on a List (#61176)
-
Make "state.highstate" to acts on concurrent flag. Simplify "transactional_update" module to not use SSH wrapper and allow more flexible execution (#61188)
-
Fix a failure with salt.utils.vault.make_request when namespace is not defined in the connection. (#61191)
-
Fix race condition in
salt.utils.verify.verify_env
and ignore directories starting with dot (#61192) -
LGPO: Search for policies in a case-sensitive manner first, then fall back to non case-sensitive names (#61198)
-
Fixed state includes in dynamic environments (#61200)
-
Minimize the number of network connections minions to the master (#61247)
-
Fix salt-call event.event with pillar or grains (#61252)
-
Fixed failing dcs.compile_config where a successful compile errored with
AttributeError: 'list' object has no attribute 'get'
. (#61261) -
Make the salt.utils.win_dacl.get_name() function include the "NT Security" prefix for Virtual Accounts. Virtual Accounts can only be added with the fully qualified name. (#61271)
-
Fixed tracebacks and print helpful error message when proxy_return = True but no platform or primary_ip set in NetBox pillar. (#61277)
-
Ensure opts is included in pack for minion_mods and config loads opts from the named_context. (#61297)
-
Added prefix length info for IPv6 addresses in Windows (#61316)
-
Handle MariaDB 10.5+ SLAVE MONITOR grant (#61331)
-
Fix secondary ip addresses being added to ip4_interfaces and ip6_interfaces at the same time (#61370)
-
Do not block the deltaproxy startup. Wrap the call to the individual proxy initialization functions in a try...except, catching the exception, logging an error and moving onto the next proxy minion. (#61377)
-
show_instance of hetzner cloud provider should enforce an action like the other ones (#61392)
-
Fix Hetzner Cloud config loading mechanism (#61399)
-
Sets correctly the lvm grain even when lvm's command execution outputs a WARNING (#61412)
-
Use net instead of sc in salt cloud when restarting the salt service (#61413)
-
Fix use_etag support in fileclient by removing case sensitivity of expected header (#61440)
-
Expand environment variables in the root_dir registry key (#61445)
-
Use salt.utils.path.readlink everywhere instead of os.readlink (#61458)
-
Fix state_aggregate minion option not respected (#61478)
-
Fixed wua.installed and wua.uptodate to return all changes, failures, and supersedences (#61479)
-
When running with test=True and there are no changes, don't show that there are changes. (#61483)
-
Fix issue with certutil when there's a space in the path to the certificate (#61494)
-
Fix cmdmod not respecting config for saltenv (#61507)
-
Convert Py 2'isms to Python 3, and add tests for set_filesystems on AIX (#61509)
-
Fix tracebacks caused by missing block device type and wrong mode used for gzip.open while calling inspector.export (#61530)
-
win_wua: Titles no longer limited to 40 characters (#61533)
-
Fixed error when using network module on RHEL 8 due to the name of the service changing from "network" to "NetworkManager". (#61538)
-
Allow symlink to be created even if source is missing on Windows (#61544)
-
Print jinja error context on
UndefinedError
. Previouslyjinja2.exceptions.UndefinedError
resulted in aSaltRenderError
without source file context, unlike all of the other Jinja exceptions handled insalt/utils/templates.py
. (#61553) -
Fix uptime on AIX systems when less than 24 hours (#61557)
-
Fix issue with state.show_state_usage when a saltenv is not referenced in any topfile (#61614)
-
Making the retry state system feature available when parallel is set to True. (#61630)
-
modules/aptpkg.SourceEntry: fix parsing lines with arbitrary comments in case HAS_APT=False (#61632)
-
Fix file.comment incorrectly reports changes in test mode (#61662)
-
Fix improper master caching of file listing in multiple dynamic environments (#61738)
-
When configured beacons are empty write an empty beacon configuration file. (#61741)
-
Fix file.replace updating mtime with no changes (#61743)
-
Fixed etcd_return being out of sync with the underlying etcd_util. (#61756)
-
Fixing items, values, and keys functions in the data module. (#61812)
-
Ensure that
salt://
URIs never contain backslashes, converting them to forward slashes instead. A specific situation to handle is caching files on Windows minions, where Jinja relative imports introduce a backslash into the path. (#61829) -
Do not raise a UnicodeDecodeError when pillar cache cannot decode binary data. (#61836)
-
Don't rely on
importlib.metadata
, even on Py3.10, useimportlib_metadata
instead. (#61839) -
Fix the reporting of errors for file.directory in test mode (#61846)
-
Update Markup and contextfunction imports for jinja versions >=3.1. (#61848)
-
Update states.chef for version 16.x and 17.x Chef Infra Client output. (#61891)
-
Fixed some whitespace and
pathlib.Path
issues when not using the sytemaptsources
package. (#61936) -
fixed error when using backslash literal in file.replace (#61944)
-
Fix an issue where under spawning platforms, one could exhaust the available multiprocessing semaphores. (#61945)
-
Fix salt-cloud sync_after_install functionality (#61946)
-
Ensure that
common_prefix
matching only occurs if a directory name is identified (in thearchive.list
execution module function, which affects thearchive.extracted
state). (#61968) -
When states are running in parallel, ensure that the total run time produced by the highstate outputter takes that into account. (#61999)
-
Temporary logging is now shutdown when logging has been configured. (#62005)
-
modules/lxd.FilesManager: fix memory leak through pylxd.modules.container.Container.FilesManager (#62006)
-
utils/jinja.SaltCacheLoader: fix leaking SaltCacheLoader through atexit.register (#62007)
-
Fixed errors on calling
zabbix_user.admin_password_present
state, due to changed error message in Zabbix 6.0 Fixedzabbix.host_update
not mapping group ids list to list of dicts in format[{"groupid": groupid}, ...]
Fixedzabbix.user_update
not mapping usergroup id list to list of dicts in format[{"usrgrpid": usrgrpid}, ...]
(#62012) -
utils/yamlloader and yamlloader_old: fix leaking DuplicateKeyWarning through a warnings module (#62021)
-
Fix cache checking for Jinja templates (#62042)
-
Fixed salt.states.file.managed() for follow_symlinks=True and test=True (#62066)
-
Stop trigering the
GLIBC race condition <https://sourceware.org/bugzilla/show_bug.cgi?id=19329>
_ when parallelizing the resolution of the fqnds. (#62071) -
Fix useradd functions hard-coded relative command name (#62087)
-
Fix #62092: Catch zmq.error.ZMQError to set HWM for zmq >= 3.
Run
git show 0be0941
for more info. (#62092) -
Allow emitatstartup to work when delay option is setup. (#62095)
-
Fix broken relative jinja includes in local mode bug introduced in #62043 (#62117)
-
Fix broken file.comment functionality introduced in #62045 (#62121)
-
Fixed an incompatibility preventing salt-cloud from deploying VMs on Proxmox VE 7 (#62154)
-
Fix sysctl functions hard-coded relative command name (#62164)
-
All of Salt's loaders now accept
loaded_base_name
as a keyword argument, allowing different namespacing the loaded modules. (#62186) -
Only functions defined on the modules being loaded will be added to the lazy loader, functions imported from other modules, unless they are properly namespaced, are not included. (#62190)
-
Fixes issue in postgresql privileges detection: privileges on views were never retrieved and always recreated. (#57690)
-
Fix service.enabled error for unavailable service in test mode (#62258)
-
Fix variable reuse causing requisite_in problems (#62264)
-
Adding -G option to pkgdd cmd_prefix list when current_zone_only is True. (#62206)
-
Don't expect
lsof
to be installed when trying check which minions are connected. (#62303) -
Added a pyinstaller hook that traverses the python used on the tiamat package to add all possible modules as hidden imports. (#62362)
-
Fix use of random shuffle and sample functions as Jinja filters (#62372)
-
All of the requirements provided in the requirements files are now included. The job of evaluating platform markers is not Salt's it's pip's. (#62392)
-
Update all platforms to use pycparser 2.21 or greater for Py 3.9 or higher, fixes fips fault with openssl v3.x (#62400)
-
Due to changes in the Netmiko library for the exception paths, need to check the version of Netmiko python library and then import the exceptions from different locations depending on the result. (#62405)
-
Fixed urlparse typo in rpmbuild_pkgbuild.py (#62442)
-
Fixing changes dict in pkg state to be consistent when installing and test=True. (#60995)
-
Use fire_event_async when expecting a coroutine (#62453)
-
Fixes import error under windows. (#62459)
-
account for revision number in formulas to account for difference between bottle and formula (#62466)
-
Fixed stacktrace on Windows when running pkg.list_pkgs (#62479)
-
Update sanitizing masking for Salt SSH to include additional password like strings. (#62483)
-
Fixes an issue where the minion could not connect to a master after 2 failed attempts (#62489)
-
Added ability to request VPC peering connections in different AWS regions (boto_vpc). (#50394)
-
Added event return capability to Splunk returner (#50815)
-
Added allow downgrades support to apt upgrade (#52977)
-
added new grain for metadata to handle googles metadata differences (#53223)
-
Added win_shortcut execution and state module that does not prepend the current working directory to paths. Use shortcut.create and shortcut.present instead of file.shortcut. (#53706)
-
Add env substitution inside file and pillar root paths (#55747)
-
Added support cpu hot add/remove, memory hot add, and nested virtualization to VMware salt-cloud driver. (#56144)
-
Add a consul state module with acl_present and acl_absent functions. (#58101)
-
Added restconf module/states/proxy code for network device automation (#59006)
-
Adds the ability to get version information from a file on Windows systems (#59702)
-
Add aptkey=False kwarg option to the aptpkg.py module and pkgrepo state. Apt-key is on the path to be deprecated. This will allow users to not use apt-key to manage the repo keys. It will set aptkey=False automatically if it does not detect apt-key exists on the machine. (#59785)
-
Added "Instant Clone" feature in the existing VMware Cloud module (#60004)
-
Added support for etcd API v3 (#60325)
-
Added
pkg.held
andpkg.unheld
state functions for Zypper, YUM/DNF and APT. Improvedzypperpkg.hold
andzypperpkg.unhold
functions. (#60432) -
Added suse_ip module allowing to manage network interfaces on SUSE based Linux systems (#60702)
-
Support querying for JSON data in SQL external pillar (#60905)
-
Added support for yum and dnf on AIX (#60912)
-
Added percent success/failure of state runs in highstate summary output via new state_output_pct option (#60990)
-
Add support for retrieve IP-address from qemu agent by Salt-cloud on Proxmox (#61146)
-
Added new shortcut execution and state module to better handle UNC shortcuts and to test more thoroughly (#61170)
-
added yamllint utils module and yaml execution modules (#61182)
-
Add "--no-return-event" option to salt-call to prevent sending return event back to master. (#61188)
-
Add Etag support for file.managed web sources (#61270)
-
Adding the ability to add, delete, purge, and modify Salt scheduler jobs when the Salt minion is not running. (#61324)
-
Added a force option to file.symlink to overwrite an existing symlink with the same name (#61326)
-
gpg_decrypt_must_succeed
config to prevent gpg renderer from failing silently (#61418) -
Do not load a private copy of
__grains__
and__salt__
for the sentry log handler if it is disabled. (#61484) -
Add Jinja filters for itertools functions, flatten, and a state template workflow (#61502)
-
Add feature to allow roll-up of duplicate IDs with different names in highstate output (#61549)
-
Allow cp functions to derive saltenv from config if not explicitly set (#61562)
-
Multiprocessing logging no longer uses multiprocessing queues which penalized performance.
Instead, each new process configures the terminal and file logging, and also any external logging handlers configured. (#61629)
-
Add a function to the freezer module for comparison of packages and repos in two frozen states (#61682)
-
Add grains_refresh_pre_exec option to allow grains to be refreshed before any operation (#61708)
-
Add possibility to pass extra parameters to salt-ssh pre flight script with
ssh_pre_flight_args
(#61715) -
Add Etag support for archive.extracted web sources (#61763)
-
Add regex exclusions, full path matching, symlink following, and mtime/ctime comparison to file.tidied (#61823)
-
Add better handling for unit abbreviations and large values to salt.utils.stringutils.human_to_bytes (#61831)
-
Provide PyInstaller hooks that provide some runtime adjustments when Salt is running from a Tiamat(PyInstaller) bundled package. (#61864)
-
Add configurable tiamat pip pypath location (#61937)
-
Add CNAME record support to the dig exec module (#61991)
-
Added support for changed user object in Zabbix 5.4+ Added compatibility with Zabbix 4.0+ for
zabbix.user_getmedia
method Added support for setting medias inzabbix.user_update
for Zabbix 3.4+ (#62012) -
Add ignore_missing parameter to file.comment state (#62044)
-
General improvements on the "ansiblegate" module:
- Add "ansible.targets" method to gather Ansible inventory
- Add "ansible.discover_playbooks" method to help collecting playbooks
- Fix crash when running Ansible playbooks if ansible-playbook CLI output is not the expected JSON.
- Fix issues when processing inventory and there are groups with no members.
- Allow new types of targets for Ansible roster (#60056)
-
Add sample and shuffle functions from random (#62225)
-
Add " python" subcommand to allow execution or arbitrary scripts via bundled Python runtime (#62381)
- Expand environment variables in the root_dir registry key (#61445)
- Update Markup and contextfunction imports for jinja versions >=3.1. (#61848)
- Fix bug in tcp transport (#61865)
- Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndic_master.pub and when a Salt minion is involved use minion_master.pub. (#61868)
- Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967)
- Sign authentication replies to prevent MiTM (cve-2022-22935)
- Prevent job and fileserver replays (cve-2022-22936)
- Sign pillar data to prevent MiTM attacks. (cve-2202-22934)
- Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413)
- Fix denial of service in junos ifconfig output parsing.
- Removed the deprecated glance state and execution module in favor of the glance_image state module and the glanceng execution module. (#59079)
- Removed support for Ubuntu 16.04 (#59869)
- Removed the deprecated support for
gid_from_name
from theuser
state module (#60565) - Removed deprecated virt.migrate_non_shared, virt.migrate_non_shared_inc, ssh from virt.migrate, and python2/python3 args from salt.utils.thin.gen_min and .gen_thin (#60893)
- The _ext_nodes alias to the master_tops function was added back in 3004 to maintain backwards compatibility with older supported versions. This alias will now be removed in 3006. This change will break Master and Minion communication compatibility with Salt minions running versions 3003 and lower. (#60980)
- utils/boto3_elasticsearch is no longer needed (#59882)
- Changed "manufacture" grain to "manufacturer" for Solaris on SPARC to unify the name across all platforms. The old "manufacture" grain is now deprecated and will be removed in Sulfur (#60511)
- Deprecate
salt.payload.Serial
(#60953)
- Changed nginx.version to return version without
nginx/
prefix. (#57111) - Updated Slack webhook returner to support event returns on salt-master (#57182)
- Parsing Epoch out of version during pkg remove, since yum can't handle that in all of the cases. (#57881)
- Add extra onfail req check in the state engine to allow onfail to be used with onchanges and other reqs in the same state (#59026)
- Changed the default character set used by
utils.pycrypto.secure_password()
to include symbols and implemented arguments to control the used character set. (#59486)
- Set default 'bootstrap_delay' to 0 (#61005)
- Fixed issue where multiple args to netapi were not preserved (#59182)
- Handle all repo formats in the aptpkg module. (#60971)
- Do not break master_tops for minion with version lower to 3003 This is going to be removed in Salt 3006 (Sulfur) (#60980)
- Reverting changes in PR #60150. Updating installed and removed functions to return changes when test=True. (#60995)
- Handle signals and properly exit, instead of raising exceptions. (#60391, #60963)
- Redirect imports of
salt.ext.six
tosix
(#60966) - Surface strerror to user state instead of returning false (#20789)
- Fixing _get_envs() to preserve the order of pillar_roots. _get_envs() returned pillar_roots in a non-deterministic order. (#24501)
- Fixes salt-cloud
KeyError
that occurs when there exists any subnets with no tags when profiles usesubnetname
(#44330) - Fixes postgres_local_cache by removing duplicate unicode encoding. (#46942)
- Fixing the state aggregation system to properly handle requisities. Fixing pkg state to exclude packages from aggregation if the hold attribute is in the state. (#47628)
- fix issue that allows case sensitive files to be carried through (#47969)
- Allow GCE Salt Cloud to use previously created IP Addresses. (#48947)
- Fixing rabbitmq.list_user_permissions to ensure we are returning a permission list with three elements even when some values are empty. (#49115)
- Periodically restart the fileserver update process to avoid leaks (#50313)
- Fix default value to dictionary for mine_function (#50695)
- Allow user.present to work on Alpine Linux by fixing linux_shadow.info (#50979)
- Ensure that zypper is called with only one --no-refresh parameter (#51382)
- Fixed fileclient cachedir path switching from master to minion due to incorrect MasterMinion configuration (#52288)
- Fixed the container detection inside virtual machines (#53868)
- Fix invalid dnf command when obsoletes=True in pkg.update function (#54224)
- Jinja renderer resolves wrong relative paths when importing subdirectories (#55159)
- Fixed bug #55262 where
salt.modules.iptables
would callcmd.run
and receive and interpret interspersedstdout
andstderr
output from subprocesses. (#55262) - Updated pcs support to handle auth and setup for new syntax supporting version 0.10 (#56924)
- Reinstate ignore_cidr option in salt-cloud openstack driver (#57127)
- Fix for network.wolmatch runner displaying 'invalid arguments' error with valid arguments (#57473)
- Fixed bug 57490, which prevented package installation for Open Euler and Issabel PBX. Both Open Euler and Issabel PBX use Yum for package management, added them to yumpkg.py. (#57490)
- Better handling of bad RSA public keys from minions (#57733)
- Fixing various functions in the file state module that use user.info to get group information, certain hosts particularly proxy minions do not have the user.info function available. (#57786)
- Do not monkey patch yaml loaders: Prevent breaking Ansible filter modules (#57995)
- Fix --subset command line option, and support old 'sub' parameter name in cmd_subset for backwards compatibility (#58600)
- When calling salt.utils.http.query with a HEAD method to check for the existence of a source ensure that decode_body is False, so the file is not downloaded into memory when we don't need the contents. (#58881)
- Update the runas user on freebsd for postgres versions >9.5, since freebsd will be removing the package on 2021-05-13. (#58915)
- Fix pip module linked requirements file parsing (#58944)
- Fix incorrect hostname quoting in /etc/sysconfig/networking on Red Hat family OS. (#58956)
- Fix Xen DomU virt detection in grains for long running machines. (#59001)
- add encoding when windows encoding is not defaulting to utf8 (#59063)
- Fix "aptpkg.normalize_name" in case the arch is "all" for DEB packages (#59269)
- Astra Linux now considered a Debian family distro (#59332)
- Reworking the mysql module and state so that passwordless does not try to use unix_socket until unix_socket is set to True. (#59337)
- Fixed the zabbix module to read the connection data from pillar. (#59338)
- Fix crash on "yumpkg" execution module when unexpected output at listing patches (#59354)
- Remove return that had left over py2 code from win_path.py (#59396)
- Don't create spicevmc channel for Xen virtual machines (#59416)
- Fix win_servermanager.install so it will reboot when restart=True is passed (#59424)
- Clear the cached network interface grains during minion init and grains refresh (#59490)
- Normalized grain output for LXC containers (#59573)
- Fix typo in 'salt/states/cmd.py' to use "comment" instead of "commnd". (#59581)
- add aliyun linux support and set alinux as redhat family (#59686)
- Don't fail updating network without netmask ip attribute (#59692)
- Fixed using reserved keyword 'set' as function argument in modules/ipset.py (#59714)
- Return empty changes when nothing has been done in virt.defined and virt.running states (#59739)
- Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744)
- Fix an issue with the LGPO module when the gpt.ini file contains unix style line endings (/n). This was happening on a Windows Server 2019 instance created in Google Cloud Platform (GCP). (#59769)
- The
ansiblegate
module now correctly passes keyword arguments to Ansible module calls (#59792) - Make sure cmdmod._log_cmd handles tuples properly (#59793)
- Updating the add, delete, modify, enable_job, and disable_job functions to return appropriate changes. (#59844)
- Apply pre-commit changes to entire codebase. (#59847)
- Fix Hetzner cloud driver does not recognize machines when rolling out a map (#59864)
- Update Windows build deps & DLLs, Use Python 3.8, libsodium.dll 1.0.18, OpenSSL dlls to 1.1.1k (#59865)
- Salt api verifies proper log file path when providing '--log-file' from the cli (#59880)
- Detect Mendel Linux as Debian (#59892)
- Fixed compilation of requisite_ins by also checking state type along with name/id (#59922)
- Fix xen._get_vm() to not break silently when a VM and a template on XenServer have the same name. (#59932)
- Added missing space for nftables.build_rule when using saddr or daddr. (#59958)
- Add back support to load old entrypoints by iterating instead of type checking (#59961)
- Fixed interrupting salt-call in a pdb session. (#59966)
- Validate we can import map files in states (#60003)
- Update alter_db to return True or False depending on the success of failure of the alter. Update grant_exists to only use the full list of available privileges when the grant is on the global level, eg. datbase is ".". (#60031)
- Fixed firewalld.list_zones when any "rich rules" is set (#60033)
- IPCMessageSubscriber objects expose their connect method as a corotine so they can be wrapped by SyncWrapper. (#60049)
- Allow for Napalm dependency netmiko_mod to load correctly when used by Napalm with Cisco IOS (#60061)
- Ensure proper access to the created temporary file when
runas
is passed tocmd.exec_code_all
(#60072) - Fixed an IndexError in pkgng.latest_version when querying an unknown package. (#60105)
- Fixed pkgng.latest_version when querying by origin (e.g. "shells/bash"). (#60108)
- Gracefuly handle errors in virt.vm_info (#60132)
- The LGPO Module now uses "Success and Failure" for normal audit settings and advanced audit settings (#60142)
- Fixing tests/pytests/unit/utils/scheduler/test_eval.py tests so the sleep happens before the status, so the job is given time before we check it. (#60149)
- Update the external ipaddress to the latest 3.9.5 version which has some security fixes. Updating the compat.p to use the vendored version if the python version is below 3.9.5 and only run the test_ipaddress.py tests if below 3.9.5. (#60168)
- Fixed ValueError exception in state.show_state_usage (#60179)
- Redact the username and password when something goes wrong when using an HTTP source and we raise an exception. (#60203)
- Inject the Ansible functions into Salt's
ansiblegate
module which was broken on the 3001 release. (#60207) - Figure out the available Python version inside containers when executing "dockermod.call" function (#60229)
- Handle IPv6 route types such as anycast, multicast, etc when returned from IPv6 route table queries (#60232)
- Move the commonly used code that converts a list to a dictionary into salt.utils.beacons. Fixing inotify beacon close function to ensure the configuration is converted from the provided list format into a dictionary. (#60241)
- Set name of engine subprocesses (#60259)
- Properly discover block devices path in virt.running (#60296)
- Avoid exceptions when handling some exception cases. (#60330)
- Fixed faulty error message in npm.installed state. (#60339)
- Port option reinstated for Junos Proxy (accidentally removed) (#60340)
- Now hosts.rm_host can remove entries from /etc/hosts when this file have inline comments. (#60351)
- Fixes issue where the full same name is not used when making rights assignments with group policy (#60357)
- Fixed zabbix_host.present to not overwrite inventory_mode to "manual" every time inventory is updated. (#60382)
- Allowed zabbix_host.present to do partial updates of inventory, also don't erase everything if inventory is missing in state definition. (#60389)
- Fixing the mysql_cache module to handle binary inserting binary data into the database. Initially adding tests. (#60398)
- Fixed host_inventory_get to not throw an exception if host does not exist (#60418)
- Check for /dev/kvm to detect KVM hypervisor. (#60419)
- Fixing file.accumulated handling of dependencies when the state_id is used instead of {function: state_id} format. (#60426)
- Adding the ability for yumpkg.remove to handle package names with widdcards. (#60461)
- Pass emulator path to get guest capabilities from libvirt (#60491)
- virt.get_disks: properly report qemu-img errors (#60512)
- Make all platforms have psutils. This prevents a minion from starting if an instance is all ready running. (#60523)
- Ignore configuration for 'enable_fqdns_grains' for AIX, Solaris and Juniper, assume False (#60529)
- Remove check for TIAMAT_BUILD enforcing USE_STATIC_REQUIREMENTS, this is now controlled by Tiamat v7.10.1 and above (#60559)
- Have the beacon call run through a try...except, catching any errors, logging and firing an event that includes the error. Fixing the swapusage beacon to ensure value is a string before we attempt to filter out the %. (#60585)
- Refactor loader into logical sub-modules (#60594)
- Clean up references to ZMQDefaultLoop (#60617)
- change dep warn from Silicon to Phosphorus for the cmd,show,system_info and add_config functions in the nxos module. (#60669)
- Fix bug 60602 where the hetzner cloud provider isn't recognized correctly (#60675)
- Fix the
pwd.getpwnam
caching issue on macOS user module (#60676) - Fixing beacons that can include a value in their configuration that may or may not included a percentage. We want to handle the situation where the percentage sign is not included and the value is not handled as a string. (#60684)
- Fix RuntimeError in process manager (#60749)
- Ensure all data that is being passed along to LDAP is in an OrderedSet and contains bytes. (#60760)
- Update the AWS API version so VMs spun up by salt-cloud where the VPC has it enabled to assign ipv6 addresses by default, actually get ipv6 addresses assigned by default. (#60804)
- Remove un-needed singletons from tranports (#60851)
- Add windows support for file.patch with patch.exe from git for windows optional packages (#44783)
- Added ability to pass exclude kwarg to salt.state inside orchestrate. (#49130)
- Added
success_stdout
andsuccess_stderr
arguments tocmd.run
, to override default return code behavior. (#50597) - The netbox pillar now been enhanced to add support for querying virtual machines (in addition to devices), as well as minion interfaces and associated IP addresses. (#51490)
- Add support for transactional systems, like openSUSE MicroOS (#58519)
- Added namespace headers to allow use of namespace from config to communicate with Vault Enterprise namespaces (#58585)
- boto3mod unit tests (#58713)
- New decorators
allow_one_of()
andrequire_one_of()
(#58742) - Added
nosync
switch to disable initial raid synchronization (#59193) - Expanded the documentation for the netbox pillar. (#59398)
- Rocky Linux has been added to the RedHat os_family. (#59682)
- Add "poudriere -i -j jail_name" option to list jail information for poudriere (#59831)
- Added the grains.uuid on Windows platform (#59888)
- Add a salt.util.platform check to detect the AArch64 64-bit extension of the ARM architecture. (#59915)
- Adding support for Deltaproxy controlled proxy minions into Salt Open. (#60090)
- Added functions to slsutil execution module to test if files exist in the state tree Added function to slsutil execution module to search for a file by walking up the state tree (#60159)
- Allow module_refresh to also refresh available beacons, eg. following a Python library being installed and "refresh_modules" being passed as an argument in a state. (#60541)
- Add the
detect_remote_minions
andremote_minions_port
options to allow the master to detect remote ports for connected minions. This will allow users to detect Heist-Salt minions the master is connected to over port 22 by default. (#60612) - Add the python rpm-vercmp library in the rpm_lowpkg.py module. (#60814)
- Allow a user to use the aptpkg.py module without installing python-apt. (#60818)
- Update Markup and contextfunction imports for jinja versions >=3.1. (#61848)
- Fix bug in tcp transport (#61865)
- Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndic_master.pub and when a Salt minion is involved use minion_master.pub. (#61868)
- Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967)
- Sign authentication replies to prevent MiTM (cve-2022-22935)
- Prevent job and fileserver replays (cve-2022-22936)
- Sign pillar data to prevent MiTM attacks. (cve-2202-22934)
- Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413)
- Fix denial of service in junos ifconfig output parsing.
- Fix issue introduced in saltstack#59648 (#60046)
- Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004)
- Ensure that sourced file is cached using its hash name (cve-2021-21996)
- Periodically restart the fileserver update process to avoid leaks (#50313)
- Add ssh_timeout to kwargs in deploy_script (#59901)
- Update the external ipaddress to the latest 3.9.5 version which has some security fixes. Updating the compat.p to use the vendored version if the python version is below 3.9.5 and only run the test_ipaddress.py tests if below 3.9.5. (#60168)
- Use the right crypto library for salt.utils.crypt.reinit_crypto (#60215)
- Stop SSH from hanging if connection is lost. Also added args to customize grace period. (#60216)
- Improve reliability of Terminal class (#60504)
- Ignore configuration for 'enable_fqdns_grains' for AIX, Solaris and Juniper, assume False (#60529)
- Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744)
- Use contextvars library from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942)
- Fixed race condition in batch logic. Added
listen
option toLocalClient
to prevent event subscriber from purging cached events during batch iteration. (#56273) - Fixed dependencies for Amazon Linux 2 on https://repo.saltproject.io since Amazon Linux 2 now provides some of the python libraries in their repos. (#59982)
- IPCMessageSubscriber objects expose their connect method as a coroutine so they can be wrapped by SyncWrapper. (#60049)
- Import salt.utils.azurearm instead of using utils from loader in azure cloud. This fixes an issue where utils would become unavailable when we are using the ThreadPool in azurearm. (#59744)
- Use contextvars library from site-packages if it is intalled. Fixes salt ssh for targets with python <=3.6 (#59942)
- Add back support to load old entrypoints by iterating instead of type checking (#59961)
- Pass the value of the
__grains__
NamedContext to salt.pillar.get_pillar, instead of the NamedContext object itself. (#59975) - Fix pillar serialization in jinja templates (#60083)
- Removed the deprecated glance state and execution module in favor of the glance_image state module and the glanceng execution module. (#59079)
- Removing the _ext_nodes deprecation warning and alias to the master_tops function. This change will break compatibility with a Salt master running versions 2017.7.8 and older and Salt minions running versions 3003 and newer. (#59804)
- removed the arg
managed_private_key
from 'salt.states.x509.certificate_managed' (#59247) - Drop support for python 3.5 on Windows (#59479)
- Removed support for Ubuntu 16.04 (#59913)
- Added deprecation warning for grains.get_or_set_hash (#59425)
- Change
brew cask --list
tobrew list --cask
(#58381) - Store git sha in salt/_version.py when installing from a tag so it can be found if needed later. (#59137)
- Changed package manager detection in yumpkg module (#59201)
- Updating the pkg beacon to fire the events when there are upgrades to packages, but also when watched packages are installed or removed. Breaking out the logic for listing pkgs from context into a separate function to aid in testing. Updating tests to ensure context is not used when use_context option to list_pkgs is False. (#59463)
-
When instantiating the loader grab values of grains and pillars if they are NamedLoaderContext instances. (#59773)
-
Fixed installation on Apple Silicon Macs by checking $HOMEBREW_PREFIX for
libcrypto
instead of assuming /usr/local. (#59808) -
Fix incorrect documentation for pillar_source_merging_strategy (#26396)
-
Don't iterate through cloud map errors (#34033)
-
Suppress noisy warnings when very old pyzmq is used. (#50327)
-
Fixed glusterfs version parsing for pre-4.0 (#50707)
-
Prevent traceback when trying to list reactors when none are configured. (#53334)
-
Fixed zabbix_host.present to accept all Zabbix host properties (#53838)
-
Binaries for the salt installer package for OSX are now signed and the installer package is notarized (#54513)
-
Guard boto3_elasticsearch loading properly (#55848)
-
Use a capitalized string version of the value of
NodeState
instead (#56589) -
Adding missing error case to the validation for service beacon. (#56623)
-
The GCE cloud driver only works with apache-libcloud>=2.5.0, prior versions have authentication issues (#56862)
-
zypperpkg add_lock and remove_lock examples do not work (#56922)
-
Compare bytes to bytes so we don't overwrite a correct value (#57212)
-
Fixing expand_repo_def in aptpkg module to include the architecture in the line attribute when it is passed in. (#57600)
-
When passing arguments pass them as keyword arguments so that we can be sure the right value is going where. (#58006, #58579, #59075)
-
Improve module whitelist logic for file backends (#58041)
-
Fix behavior for "onlyif/unless" state conditionals when multiple declarations (#58085)
-
Ensure data is a valid keyword argument for the event.wait function. (#58182)
-
Do not raise "StreamClosedError" traceback on the master logs but only log it (#58301)
-
Fixed issue with win_timezone when dst is turned off. This was causing the minion not to start Use default timezone offset in scheduler when correct timezone cannot be determined (#58379)
-
Pop!_OS 20.04 and 20.10 now support using pkg.* / aptpkg.* (#58395)
-
Restoring functionality of the textfsm module when using textfsm_path argument (#58499)
-
Invalidate file list cache when cache file has a future last modified time (#58529)
-
Fix issue with setting permissions in combination with the win_perms_reset option (#58541)
-
Adds support for Powershell 7. It is specified by passing shell="pwsh". Only valid if Powershell 7 is installed on the system. (#58598)
-
Fixed the zabbix.host_create call on zabbix_host.present to include the optional parameter visible_name. Now working as documented. (#58602)
-
Fixed some bugs to allow zabbix_host.present to update a host already existent on Zabbix server:
- Added checks before "pop" the elements "bulk" and "details" from hostinterfaces_get's response. Without that, the interface comparison didn't works with Zabbix >= 5.0
- Fixed the "inventory" comparison. It failed when both current and new inventory were missing.
- Rewrite of the update_interfaces routine to really "update" the interfaces and not trying to delete and recreate all interfaces, which almost always gives errors as interfaces with linked items can't be deleted. (#58603)
-
Added the "details" mandatory object with the properly default values when creating a SNMP hostinterface in Zabbix 5.0 (#58620)
-
Fixing an issue preventing running pillar.get against pillar values with integers as pillar keys. (#58714)
-
Adding a new option to pass client_flags to MySQL connections, for example passing the option to support multiple statements in queries. (#58718)
-
Fixed two performance bugs in the sysctl.present state. Their impact is especially great on FreeBSD machines with large amounts of RAM. (#58732)
-
Fixed an issue when pillar files are included in the
top.sls
and then later included in another pillar file. (#58736) -
Left over py2 code was causing windows encoding to misbehave (#58749)
-
Return result=None from module.run state to indicate that changes would be made Return result=False from module.run state when called with no functions (#58752)
-
Fix duplicate IP addresses in fqdn_ip4 and fqdn_ip6 grains (#58799)
-
Rename
salt.renderers.toml
tosalt.renderers.tomlmod
which fixes the import error issues as described in #58822 Do note that, the renderer is still calledtoml
. (#58822) -
Fixing unhold in yumpkg. Removing unnecessary code and relying on the code that handles dicts later. Adding tests when pkg.installed is called with hold=False. (#58883)
-
Converts the given "grant" to upper case before compare to "ALL". This fixes a problem granting "all privileges" to a MySQL user. (#58933)
-
Strip trailing "/" from repo.uri when comparing repos in "apktpkg.mod_repo" (#58962)
-
When we are checking requisites, run reconcile_procs just on those requisite states not all running states. (#58976)
-
Allow the gpg module to use export_key, delete_key and create_key without a passphrase in GnuPG >= 2.1 (#58980)
-
Updated the documentation, handling and error messages for what size units are allowed by "size" parameter in lvm.lv_present (#58985)
-
Fixing the two failing tests when running on Photon OS. Python 3 installed on Photon OS does not support MD4 hashing, so don't load pdbedit module and skip the test_generate_nt_hash test. Default unmask for files and directories results in them having only user and group permissions so update the test_directory_max_depth test. (#58991)
-
Fixes to netmiko module and proxy module to handle situations where the device is unreachable during the initial connection phase. (#59011)
-
Correct comment when updating postrges users and groups. Errors reported when removing postgres groups. Partial group membership changes in postgres groups. (#59034)
-
Fixed an error when running svn.latest in test mode and using the trust_failures option. (#59069)
-
Fixes to storing schedule items in pillar, when refreshing pillar only update the schedule items if something has changed. (#59104)
-
Fixed timezone module to work in Slackware Linux (#59130)
-
Enforces pywinrm to be version 0.3.0 or higher and upgrade to latest (#59138)
-
Fix a race condition in the ldx module which sometimes caused devices not to be created during container creation. (#59145)
-
Fix issue where passed smb port was being passed to the smb connection when deploying Windows with salt-cloud (#59153)
-
Fixed an error when running on CentOS Stream 8. (#59161)
-
Fix event publish retry when using TCP transport (#59162)
-
Fix docs for
auth_timeout
(#59175) -
virt.update doesn't update the definition if efi=True and a loader is already set (#59188)
-
Fixed salt.modules.solaris_shadow failing on bytes-like object is require, not 'str'. (#59191)
-
Added support for io2 volumes in ec2 cloud (#59218)
-
When checking if the mode had changed in the file state module, only do so if the passed mode is not None. (#59276)
-
Fixing _sanitze_comments to use sqlparse instead of re.sub. (#59336)
-
Allow use of query parameters in cmd.script source url (#59362)
-
Access user from global group if local group fails to find user. (#59412)
-
Detect and fix grub.xen path (#59484)
-
Stop raising
StopIteration
on generators (#59512) -
Fix minion race conditions handling SIGTERM signal when loading modules (#59524)
-
Support new output of systemd systemctl list-unit-files in the following modules systemd_service.get_enabled, systemd_service.get_disabled and systemd_service.get_static (#59526)
-
Fix pkg.upgrade with -U arg on FreeBSD, -L flag was deprecated long time. (#59565)
-
Fixing the virtual function for the netimiko module to allow it to run outside of a proxy minion. Adding additional tests. (#59635)
-
Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664)
- Added "fips_mode" config option to master and minion configs. (#59427)
- Adding the ability to clear and show the pillar cache enabled when pillar_cache is True. (#37080)
- SCRAM-SHA-256 support for PostgreSQL passwords. Pass encrypted=scram-sha-256 to the postgres_user.present (or postgres_group.present) state. (#51271)
- The yumpkg module has been updated to support VMWare's Photon OS, which uses tdnf (a C implementation of dnf). "VMware Photon OS" has been added to the "RedHat"
os_family
map as part of this change. (#51912) - The pkgrepo state now supports VMware Photon OS. (#52550)
- Added firewallgroups to Vultr Salt Cloud provider (#53677)
- Added arbitrary kwarg support for tojson filter. (#56012)
- Add salt monitor beacon to execute salt execution module functions. (#56461)
- Allow the nameservers to be populated from systemd-resolve. (#57618)
- Adding reactor_niceness to the default minion configuration. (#57701)
- CPU model, topology and NUMA node tuning (#57880)
- Added
pkg.services_need_restart
which lists system services that should be restarted after package management operations. (#58261) - Allow handling special first boot definition on virtual machine (#58589)
- Added vgcreate custom parameters to module call: addtag, alloc, autobackup, metadatatype, zero (#58747)
- Enhance console and serial support in virt module (#58844)
- Salt's versions report
salt --versions-report
now includes all installed salt extensions into its versions report. (#58938) - Support loading entrypoints by passing a module instead of a function. (#58939)
- Added shadow.gen_password for BSD operating systems. (#59140)
- Add more network and PCI/USB host devices passthrough support to virt module and states (#59143)
- Add interface channels management support to rh_ip module. (#59147)
- Add new minion option return_retry_tries for dynamic return retry tries (#59236)
- Added salt-cloud support for Hetzner Cloud via the
hcloud
library of the provider. (#59301) - "AlmaLinux" has been added to the "RedHat"
os_family
map (#59404) - Added
blocks
andattachments
params to theslack_notify.post_message
function (#59428) - Added tcp_reconnect_backoff minion config option for specifying reconnection backoff time for TCP transport (#59431)
- Added
swapusage
beacon to complement the existingmemusage
beacon. (#59460) - The
salt-run
CLI now accepts--jid
(#59527) - Add bytes option for FreeBSD pkg-stats(8) module. (#59540)
- Adding mod_beacon function to pkg, service, and file state modules. This function will act similar to the mod_watch function. This will allow supported functions in those state modules to automatically add associated beacons to monitor for changes to the respective resources in the state file and fire events to the event bus when changes occur. (#59559)
- Add -B flag to FreeBSD pkgng.check() to regenerate the library dependency metadata for a package by extracting library requirement information from the binary ELF files in the package. (#59569)
- Fixed an error when running on CentOS Stream 8. (#59161)
- Fix bug in tcp transport (#61865)
- Make sure the correct key is being used when verifying or validating communication, eg. when a Salt syndic is involved use syndic_master.pub and when a Salt minion is involved use minion_master.pub. (#61868)
- Fixed PAM auth to reject auth attempt if user account is locked. (cve-2022-22967)
- Sign authentication replies to prevent MiTM (cve-2020-22935)
- Sign pillar data to prevent MiTM attacks. (cve-2022-22934)
- Prevent job and fileserver replays (cve-2022-22936)
- Fixed targeting bug, especially visible when using syndic and user auth. (CVE-2022-22941) (#60413)
- Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004)
- Fix the CVE-2021-31607 vulnerability
Additionally, an audit and a tool was put in place,
bandit
, to address similar issues througout the code base, and prevent them. (CVE-2021-31607) - Ensure that sourced file is cached using its hash name (cve-2021-21996)
- Store git sha in salt/_version.py when installing from a tag so it can be found if needed later. (#59137)
- Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243. (#200)
- Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664)
- Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748)
- Tests and fix for CVE-2021-25283
- Fix runners that broke when patching for CVE-2021-25281
- Fix issue with runners in SSE
- CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243)
- CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server
validates the SSL/TLS certificate by default. If you want to skip SSL verification
you can use
verify_ssl: False
. (CVE-2020-28972) - CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos
proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish
module, bigip module, and keystone module validate SSL by default. If you want
to skip SSL verification you can use
verify_ssl: False
. (CVE-2020-35662) - CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281)
- CVE-2021-25282 - Fix the salt.wheel.pillar_roots.write method so it is not vulnerable to directory traversal. (CVE-2021-25282)
- CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283)
- CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284)
- CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144)
- CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148)
- CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197)
- Fix server core grains issue when running inside a windows container (#59611)
- Change dict check to isinstance instead of type() for key_values in file.keyvalue. (#57758)
- Fail when func_ret is False when using the new module.run syntax. (#57768)
- Fix comparison of certificate values (#58296)
- When using ssh_pre_flight if there is a failure, fail on retcode not stderr. (#58439)
- Fix use of unauthd cached vmware service instance (#58691)
- Removing use of undefined varilable in utils/slack.py. (#58753)
- Restored the ability to specify the amount of extents for a Logical Volume as a percentage. (#58759)
- Ensuring that the version check function is run a second time in all the user related functions in case the user being managed is the connection user and the password has been updated. (#58773)
- Allow bytes in gpg renderer (#58794)
- Fix issue where win_wua module fails to load when BITS is set to Manual (#58848)
- Ensure that elasticsearch.index_exists is available before loading the elasticsearch returner. (#58851)
- Log a different object when debugging if we're using disk cache vs memory cache. The disk cache pillar class has the dict object but the cache pillar object which is used with the memory cache does not include a _dict obeject because it is a dict already. (#58861)
- Do not generate grains for every job run on Windows minions. This makes Windows conform more to the way posix OSes work today. (#58904)
- Fixes salt-ssh authentication when using tty (#58922)
- Revert LazyLoader finalizer. Removed the weakref.finalizer code. On some occasions, the finalized would run when trying to load a new module, firing a race condition. (#58947)
- Prevent shell injections in netapi ssh client (cve-2020-16846)
- Prevent creating world readable private keys with the tls execution module. (cve-2020-17490)
- Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh. (CVE-2020-25592)
- removed boto_vpc.describe_route_table please use boto_vpc.describe_route_tables (#58636)
- removed show_ipv4 arg from all functions in from salt.runners.manage (#58638)
- removed kwargs from mandrill.send if you use "async" please use "asynchronous" (#58640)
- removed salt/modules/mac_brew_pkg.__fix_cask_namespace (#58641)
- zfs.mount Passing '-a' as name is deprecated please just pass 'None' (#58642)
- Remove include_localhost kwarg for connected_ids method in salt/utils/minions.py (#58224)
- deprecated opts default argument of none and removed deprecation warnings (#58635)
- The
ssh
parameter ofvirt.migrate
has been deprecated. Use a libvirt URItarget
value instead. Bothvirt.migrate_non_shared
andvirt.migrate_non_shared_inc
have been deprecated. Use thecopy_storage
parameter withvirt.migrate
instead. (#57947)
- Allow specifying a custom port for Proxmox connection (#50620)
- Changed the lvm.lv_present state to accept a resizefs switch. So, when the logical volume is resized, the filesystem will be resized too. (#55265)
- Change the
enable_fqdns_grains
setting to default toFalse
on proxy minions as it is generally not needed and just slows down start up time.. (#57676) - Adds network teaming support to
network.managed
state for RHEL-based distros. Removesip.get_bond
andip.build_bond
for the same, as is redundant and not needed for any current RHEL/CentOS/Fedora/etc. release. (#57775) - The
serializer
argument has been added to the :py:func:file.serialize <salt.states.file.serialize>
state, as an alternative toformatter
. This brings it more in line with theserializer_opts
anddeserializer_opts
arguments.formatter
is still supported, but using bothserializer
andformatter
will cause the state to fail. (#57858)
-
file.read
exec module function no longer fails on binary data. (#58033) -
Remove py2 support from winrepo execution module and runner (#58596)
-
Create ini file if does not exist when using ini.options_present state module. (#34236)
-
Added an bool "strict" argument to sdb.get module to force module to fail if the sdb uri is not correct. (#39163)
-
Fixed issue with postgres.has_privilege breaking on ALL. (#48465)
-
check for azurearm username in config before adding username and password to the virtual machine properties (#49063)
-
Fixes service.status to return True/False instead of empty strings or PIDs of the service. This brings macOS into parity with the other service modules. (#49237)
-
fix frequent rest_tornado non-fatal tracebacks (#49572)
-
Do not use reverse DNS of the target used in salt-ssh. Use the target the user provides. (#49840)
-
Fixes startup issue where it tried to load the kernalparams grain on Windows (#49901)
-
Fixed error in nilrt_ip.get_interfaces_details when loading config. (#50416)
-
Doesn't remove underscore when sanitizing hostname in network salt util (#50527)
-
permit the use of int/float type for the version in:
- the state postgres_cluster.present
- the state postgres_cluster.absent
- the module postgres.cluster_create
- the module postgres.cluster_remove (#50899)
-
Cleaned up a trackback in lvm.pv_present when the disk doesn't exist. (#52363)
-
Fixed UnboundLocalError when using win_network.connect (#53371)
-
Add accept_ra 2 option to modules.debian_ip (#54067)
-
salt.runner test mode support (#54382)
-
Fixed mkpart to allow the creation of a partition without filesystem (#54456)
-
Fixes bogus warning message when an empty list is used for an environment in a topfile. This allows
[]
to be used as a placeholder in a topfile without needing to comment everything out as a workaround. (#54882) -
win_certutil state will no longer fail on non-English systems upon successful additions and deletions of a certificate. (#55024)
-
Fixed file.directory state always showing mode change for symlinks. (#55878)
-
check for a docker error that the swarm already exists when calling swarm.swarm_init on an existing docker swarm (#55949)
-
Fixing stalekey engine so it deletes the keys when they are a list. (#55977)
-
An invalid _schedule.conf configuration file is renamed to _schedule.confYAMLError. This avoids disabling the minion and busy polling the CPU on Windows. (#56216, #58177)
-
Proper calculation of tpldir and related context parameters (#56410)
-
Make gpg.encrypt examples work (#56646)
-
Artifactory encoding of headers fixed for py3 (#56660)
-
Fixed handling of extents extended attribute in file.managed state. (#57189)
-
Remove buggy start parameter from virt.pool_running docstring (#57275)
-
Fixed saltcheck rendering of map.jinja files from saltenv (#57327)
-
Fix for
virt.get_profiles
resolves an error that appears due to new parameters introduced with_disk_profile()
(#57431) -
Accept nested namespaces in spacewalk.api runner function. (#57442)
-
virt.init fix the disk target names (#57477)
-
Fix volume name for disk-typed pools in virt.defined (#57497)
-
Fixes an issue with filesystems options ordering which kept already applied NFS fstab entries being updated. (#57520)
-
Do not allow python2 to be added to salt-ssh tar since Salt deprecated Python 2. (#57647)
-
Fixed exception on loading custom zipped modules. (#57674)
-
corrected support for app_id or local vault configurations (#57705)
-
Fix the registration of libvirt pool and nodedev events (#57746)
-
Pass cmd.run state arguments to unless and onlyif when they exist (#57760)
-
The 2004 release of Windows 10 introduced a bug in the InstallationBehavior COM object where you can no longer get properties from that object. Calls to this object are now wrapped in a try/except block with sane defaults when it fails to read attributes.
Additionally, some pre-flight checks have been added to the win_wua module to make sure Windows Update can actually run. (#57762)
-
Changed get_repo in yumpkg.py to use "repo" as first parameter. This fixes #57778, a bug were every run of pkgrepo.managed state were marked as changed because the get_repo did fail to detect a previously applied run. (#57778)
-
Raise SaltClientError in parse_host_port insted of ValueError so it is caught and handled properly when the minion is connecting to the master. (#57789)
-
Fixed issue with the return dictionary from the workgroup() function in the salt.states.win_system module. This resulted in a windows-based minion logging an error and could also interfere with a highstate being applied. (#57790)
-
Fixes broken block_device_mapping and block_device_mapping_v2 type checks in the OpenStack cloud driver. Salt was looking for a dict and the shade library was looking for a list of dicts. This made it impossible to use those params. (#57802)
-
Fixed incorrect parsing of
Set-Cookie
response headers. (#57829) -
When using yumpkg, report stdout when stderr is redirected to stdout. (#57862)
-
Fixes an issue on macOS where if you try and restart the macOS using serivce.restart salt-minion it would fail because the service names are different on macOS. (#57878)
-
Fixes an issue on macOS where salt would take extra time to run on a service.dead call and the service is missing. (#57907)
-
Fixes an issue where a disabled macOS and Windows service would fail to start with service.running. (#57908)
-
Use "use_bin_type" to differentiate between bytes and str when writing cache for pillar and grains. (#57918)
-
Set the comment to "No minions responded" if salt.function fails to find any minions (#57920)
-
Fix issue with
__utils__
usage in the__virtual__
functions on a few of the execution modules. (#57948) -
remove encoding kwarg for both pack(b)/unpack(b) in msgpack for versions >=1.0.0 https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst#100 (#57965)
-
Replace deprecated
cgi.escape()
withhtml.escape()
after it was removed from Python 3.8. (#57983) -
Fix btrfs state decorator, that produces exceptions when creating subvolumes. (#58012)
-
Fix kubeadm token_list when the list of tokens is empty (#58116)
-
Add a fix for the mac_service modules where it would fail to load in some new services and crash on Big Sur. (#58143)
-
Fix blank tplfile context parameter when loading top level sls files (#58249)
-
Do not include init directory in sls context parameters if explicitly specified (#58250)
-
Fixing pillar caching when pillar environments are involved. (#58274)
-
Make proxy_config read in the proxy specific configuration which is typically found in /etc/salt/proxy.d/minionid/. (#58307)
-
Add timeout kwarg docs for service.running and service.dead (#58311)
-
Return empty dict on win_pdh.get_counters rather than raising exception when no data are available (#58327)
-
Leave boot parameters untouched if boot parameter is set to None in virt.update (#58331)
-
Convert disks of volume type to file or block disks on Xen (#58333)
-
Apparently Apple is using both "10.16" and "11" for versioning Big Sur, depending on where you look. The mac_softwareupdate module uses a different regex depending on OS version, and the determination was based on the osrelease_info grain. This results in a Big Sur machine not using the correct regex; osrelease_info[1] is 0 for Big Sur.
This change simply adds an additional clause to the if statement to handle osmajorrelease > 10. (#58340)
-
Fixed zmq salt-call hang!
Some objects from the 3rd party module zmq fail to deconstruct if left to the GC when Python exits. This is because the objects get destroyed out of order. This only happens on some platforms like ubuntu 20.04 and some versions of FreeBSD. We fixed this hang by deconstructing all zmq objects in the right order before we exit salt-call. (#58364)
-
Reactor runner functions will now ensure reactor system is available before attempting to run and error out if it is not available. (#58384)
-
Fix enpoint typos (#58416)
-
Make sure we repopulate
__utils__
on Windows when a job is run from the scheduler. (#58437) -
Adding a check when a source is an HTTP or FTP URL to do a query to ensure the URL is valid before returning, then we know if we need to move onto to the next source in the list or not. (#58441)
-
Improved documentation for the LGPO state module (#58521)
-
Remove old documented pending reboot key (#58530)
-
On macOS, skip GUI dialog for Developer Command Line Tools when importing gitfs util. (#58575)
-
Fixing a use case when multiple inotify beacons are defined but when notifications are fired the configuration from the first beacon are used. (#58655)
-
salt-api will now work on Windows platforms with limited support. You will be able to configure the
rest_cherrypy
module, withoutpam
external authentication and without ssl support.Example configuration:
.. code-block:: yaml external_auth: auto: saltuser: -.* rest_cherrypy: host: 127.0.0.1 port: 8000 (#49949)
-
Added
execution_timeout
support tochocolatey.installed
state (#50449) -
Add new verify_ssl option to file modules. This allows a user to not validate the server certificate for HTTPS source and source hash's. (#52663)
-
Added list target type support to the
scan
salt-ssh roster. (#52675) -
Added pvresize and lvextend to linux_lvm (#56089)
-
Added COPR option to states.pkgrepo (#57258)
-
Add "get_return" key for onlyif and unless requisites to parse deep module results (#57470)
-
Allow setting VM boot devices order in virt.running and virt.defined states (#57544)
-
Added grains to show the LVM Volume Groups and their Logical Volumes. (#57629)
-
Memory Tuning Support which allows much greater control of memory allocation (#57639)
-
Add output filter to saltcheck to only display test failures (#57788)
-
Add profile block and profiling of import_* jinja calls.
# cat /srv/salt/example.sls {%- profile as 'local data' %} {%- set local_data = {'counter': 0} %} {%- for i in range(313377) %} {%- do local_data.update({'counter': i}) %} {%- endfor %} {%- endprofile %} test: cmd.run: - name: |- printf 'local data: %s' '{{ local_data['counter'] }}'
When working with a very large codebase, it becomes more important to trace inefficiencies in state and pillar render times. The
profile
jinja block enables the user to get finely detailed information on the most time consuming jinja expressions in the codebase.Especially as the codebase grows and the amount of minions increases, tracking down expensive expressions becomes imperative otherwise the resource burden for even just maintaining highstate becomes unmanageable. (#57849)
-
- Added an execution module for running idem exec modules
- Added a state module for running idem states (#57969)
-
- Added the ability for states to return
sub_state_run
s -- results from external state engines (#57993)
- Added the ability for states to return
-
Added salt-cloud support for Linode APIv4 via the
api_version
provider configuration parameter. (#58093) -
Added support to manage services in Slackware Linux. (#58206)
-
Added list_sources to chocolatey module to have an overview of the repositories present on the minions. Added source_added to chocolatey state in order to add repositories to chocolatey. (#58588)
-
Adding tests for changes to virtual function for netmiko module. Adding tests for netmiko proxy minion module. (#58609)
-
Added features config option for feature flags. Added a feature flag
enable_slsvars_fixes
to enable fixes to tpldir, tplfile and sls_path. This flag will be deprecated in the Phosphorus release when this functionality becomes the default. (#58652)
Version 3001.8 is a bug fix release for :ref:3001 <release-3001>
.
- Verify the owner of an existing config before trusting it during install. If the owner cannot be verified, back it up and use defaults. (CVE-2021-22004)
- Fix the CVE-2021-31607 vulnerability
Additionally, an audit and a tool was put in place,
bandit
, to address similar issues througout the code base, and prevent them. (CVE-2021-31607) - Ensure that sourced file is cached using its hash name (cve-2021-21996)
- Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243. (#200)
- Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664)
- Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748)
- Fix runners that broke when patching for CVE-2021-25281
- Fix issue with runners in SSE
- CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243)
- CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server
validates the SSL/TLS certificate by default. If you want to skip SSL verification
you can use
verify_ssl: False
. (CVE-2020-28972) - CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos
proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish
module, bigip module, and keystone module validate SSL by default. If you want
to skip SSL verification you can use
verify_ssl: False
. (CVE-2020-35662) - CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281)
- CVE-2021-25282 - Fix the salt.wheel.pillar_roots.write method so it is not vulnerable to directory traversal. (CVE-2021-25282)
- CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283)
- CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284)
- CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144)
- CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148)
- CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197)
- Fixes salt-ssh authentication when using tty (#58922)
- Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh. (CVE-2020-25592)
- Prevent shell injections in netapi ssh client (cve-2020-16846)
- Prevent creating world readable private keys with the tls execution module. (cve-2020-17490)
- Change the
enable_fqdns_grains
setting to default toFalse
on Windows to address some issues with slowness. (#56296, #57529) - Handle the UCRT libraries the same way they are handled in the Python 3 installer (#57594)
- Changes the 'SSDs' grain name to 'ssds' as all grains needs to be resolved in lowered case. (#57612)
- Updated requirement to psutil 5.6.7 due to vulnerability in psutil 5.6.6. (#58018)
- Updated requirement to PyYAML 5.3.1 due to vulnerability in PyYAML 5.2.1. (#58019)
- When running scheduled jobs from a proxy minion with multiprocessing turned off (default) a recursive error occurs as __pub_fun_args is repeated over and over again in the kwargs element in the data dictionary. Now we make a copy of data['kwargs'] instead of using a reference. (#57941)
- The
x509.certificate_managed
state no longer triggers a change because of sorting issues if the certificate being evaluated was previously generated under Python 2. (#56556) - Added support to lo ip alias in network.managed state by checking if lo inet data from network.interfaces contains label with the name of managed interface. Return status True if match found. (#56901)
- Redact passwords in the return when setting credentials using
win_iis.container_setting
(#57285) - Fixes issue with cmd.powershell. Some powershell commands do not return
anything in stdout. This causes the JSON parser to fail because an empty string
is not valid JSON. This changes an empty string to
{}
which is valid JSON and will not cause the JSON loader to stacktrace. (#57493) - Improves performance. Profiling
test.ping
on Windows shows that 13 of 17 seconds are wasted when the esxi grain loads vsphere before noting that the OS is not a esxi host. (#57529) - Fixed permissions issue with certain pip/virtualenv states/modules when configured for non-root user. (#57550)
- Allow running nox sessions either using our
nox-py2 fork <https://github.com/s0undt3ch/nox/tree/hotfix/py2-release>
_ or upstreamnox <https://github.com/theacodes/nox>
_. (#57583) - Fixes issue with lgpo.get when there are unicode characters in the hostname (#57591)
- Fixes issue with virtual block devices, like loopbacks and LVMs, wrongly populating the "disks" or "ssds" grains. (#57612)
- Due to some optimization the
virtual
grain was never updated on illumos. Move the fallback in prtdiag output parsing outside the loop that now gets skipped due to the command exiting non-zero. (#57714) - Grains module delkey and delval methods now support the force option. This is needed for deleting grains with complex (nested) values. (#57718)
- Moving import salt.modules.vsphere into
__virtual__
so we have access to test proxytype in opts, previously this was causing a traceback when run on proxy minion as__opts__
does not exist outside of any functions. Introducing a new utils function, is_proxytype, to check that the device is a proxy minion and also that the proxy type matches. (#57743) - Fixed fail_with_changes in the test state to use the comment argument when passed. (#57766)
- Adds a fix so salt can run on the latest macOS version Big Sur. (#57787)
- Fixes UnpackValueError when using GPG cache by using atomic open. (#57798)
- The
gid_from_name
argument was removed from theuser.present
state in version 3001, with no deprecation path. It has been restored and put on a proper deprecation path. (#57843) - Fixes dictionary being changed during iteration. (#57845)
- Fixed bug with distro version breaking osrelease on Centos 7. (#57781)
- Fixed macOS build scripts. (#57973)
- Fixed Salt-API startup failure. (#57975)
- Fixed CSR handling in x509 module (#54867)
- Re-allow x509 to manage a certificate based on a CSR
- Added docs demonstrating how to apply an MSI patch with winrepo (#32780)
- Removed long-deprecated
repo
option from pip state. (#51060) - Removed noisy debug logging from config.get. (#54205)
- Removed needless dbus warnings from snapper module. (#56286)
- Removed obsolete MSI functionality from version tools. (#56352)
- Removed deprecated virt functionality. (#56514)
- Dropped requirement for enum34 dependency. (#57108)
- On macOS pkg.installed (using brew) no longer swaps
caskroom/cask/
forhomebrew/cask/
when using outdated package names. (#57361) - napalm_network.load_template module - removed deprecated arguments template_user, template_attrs, template_group, template_mode, and native NAPALM template support. Use Salt's rendering pipeline instead. (#57362)
- selinux.fcontext_add_or_delete_policy module removed - use selinux.fcontext_add_policy or selinux.fcontext_delete_pollicy instead. (#57363)
- Deprecated
refresh_db
removed from pkgrepo state. Userefresh
instead. (#57366) - Deprecated internal functions salt.utils.locales.sdecode and .sdecode_if_string removed. Use salt.utils.data.decode instead. (#57367)
- Removed deprecated misc. internal Salt functions. See saltstack#57368 for more info. (#57368)
- Remove salt/utils/vt.py duplication from filename map. (#57004)
file.rename
no longer returns False whenforce:False
. (#49843)- Brought localclient command line args functionality into line with regular
salt
calls. (#56853) - Updated requisites documentation. (#49962)
- Changed eauth "not enabled" log message level from debug to warning. (#50946)
- (#52546)
- Refactored x509.certificate_managed to be easier to use. (#52935)
- Don't log error when running "alternatives --display" on nonexistant target (#53911)
- Improved logging for user auth issues. (#53990)
- No longer emit extra logs when checking
alternatives.display
and.check_exists
. (#53991) - Use lazy loading to get SLS data from master - significantly improves
state.apply
times when using gitfs with many branches. (#54468) - Changed Salt icon for Windows. (#56194)
- Update
libnacl
to 1.7.1 (#56350) - Now require pycryptodomex for crypto on all platforms. (#56625)
- Updated to sphinx 3.0.1 when building docs. (#56671)
- Now
__salt__
is automatically refreshed when a package ispip
installed, allowing pip installing a dependency and using that dependency in the same state run. (#56867) - Use pygit2>=1.2.0 for Python>=3.8. (#56905)
- Now provides a more meaningful error for
win_groupadd
for unmapped accounts. (#56921) - Significantly improve call times by only checking one frame in
depends
. (#57062) - Salt scripts shebang now specifies
python3
. (#57083) - Upgraded dependency to use boto3>=1.13.5. (#57161)
- Changed to consistent file location handling across APIs for Juniper network devices. (#57399)
- Use Python's hashlib (sha256) instead of shelling out (SipHash24) to generate server_id. (#57415)
- Update
formulas.rst
with new IRC channel and links to IRC logs (#51628)
pkgrepo.managed
now checks for a changedkey_url
. (#4438)- Allow passing extra args to
file.rename
. (#29001) - Fixed issue with overeager recursion detection. (#37646)
- Correctly set DNS search domain in VMware virtual machine. (#37709)
- Fixed trim_output logic in archive.extracted state (#40491)
- Updated documentation on
service
state. (#40819) - Changed error message on
postgres_database.absent
to report correct error when database is in use. (#42833) - Fixed issue in
sysctl
when kernel parameters were adjusted via grub. (#45195) - Added termination protection option to salt-cloud ec2. (#45496)
- Refactored
debian_ip
module. (#46388) - Log error when reactor tasks go to a full queue instead of silently fail. (#46431)
- Fixed issue with failure on comments in MySQL files. (#47488)
- Properly handle multibyte characters that span blocks of data. (#48473)
- Fixed failure in
user.present
whengid_from_name
is True. Argument was removed and replaced by theusergroup
argument. (#48640) - Properly obtain hostname (#48906)
- Fixed
nilrt_ip
disabled function. (#48971) - Fixed static configuration in nilrt_ip module. (#48990)
- Added missing ARPCHECK option to rh7_eth template. (#49074)
- Fixed to use the correct LetsEncrypt path on FreeBSD. (#49129)
- Updated docs for netapi logs - log.access_file and log.error_file. (#49247)
- Retry proxmox queries instead of failing immediately. (#49485)
- Fixed AMD GPU vendor detection. (#56837)
- Fixed
aptpkg.normalize_name
to respect architecture. (#49637) - Add error message for proxmox failures. (#49562)
- Fixed nilrt_ip.enable/disable idempotency. (#56795)
- Fixed issue with file.line doing a partial comparison to determine replacement need, instead compare actual content of lines. (#49855)
- Return actual error message to user or hex code for
win_task.create_task_from_xml
. (#49981) - Use minion name as ssh_host for saltify cloud provider. (#50135)
- Fixed misconfiguration of syndic. (#50139)
- Re-added
onfail_all
, fixed onfail always triggering with other reqs, and onfail and onchanges not working when both present. (#50264) - Fixed broken scaleway cloud module. (#50334)
- Fixed issue not cleaning up schedule and beacons. (#50505)
- Fixed opkg install/remove to return potential changes, rather than always an empty dictionary. (#50516)
- Fixed
pycrypto.gen_hash
to use strongest availablealgorithm
by default. (#50544) - Fixed error leaving an empty first line on
.ini
file edits. (#50614) - Fixes error in tcp transport publish port default value. (#50646)
- Changed internal functionality for deprecated Python
inspect.formatargspec
. (#50911) - Allows clone_from setting in proxmox salt-cloud to be able to be an integer. (#51001)
- Stopped reading Windows registry value that might not be there. (#51095)
- Fixed complaint about unused variables. (#51196)
- salt-ssh no longer ignores pillar argument on
state.sls_id
. (#51353) - Stop treating MSI as a hard dependency. (#51470)
- Fixed error handling for route53 to ignore
SignatureDoesNotMatch
errors (which cannot be retried). (#51572) - Fixed
extract_hash
to use the correct value. (#51670) - Fixed hard failure if
chocolately.installed
is for a non-existent package. (#51700) fail_with
andsucceed_with
now correctly usecomment
argument. (#51821)- Updated
is_enabled
to allow optional arguments. (#51823) - Fixed issue producing an error trying to resolve the unresolvable Capability SIDs. (#51868)
- Additional fixes for using cron state with non-root Minion (#51872)
- Fixed proxy module for Windows by using
__utils__
instead of__salt__
for code that accesses the registry. (#52013) - Added support for parsing Gluster cli banner. (#52318)
- Fixed failure to require
target
argument in git states. (#52364) - Fixed issue failing hard on uninstalled win updates. (#52387)
- Fixed issue with
artifactory
not correctly evaluatinghas_classifier
first. (#52517) - Fixed compound matches with nodegroups. (#52678)
- Removed some noisy logging that have a tendency to fill up the logs on larger installations. (#52763)
- Use
__utils__
for all registry calls. (#52992) - Added syndic log rotation to RPM. (#53040)
- Use correct output in
zpool.present
whentest=true
. (#53145) - Fix s3fs cache byte/str mismatch (#53244)
- Fixed
win_system
module to skip unavailable system info. (#53287) - Ignore invalid product_name files. (#53326)
- Fixed error with
pkg.list_pkgs
to explicitly setutf-8
encoding when writing, to match when reading. (#53340) - Fixed issue with encoding/decoding on circular references, discovered with iptables when
state_aggregate
was enabled. (#53353) - No longer fail when
blkid -o export
does not provideTYPE
output. (#53447) - Fixed
guesseed
->guessed
typo inarchive
state. (#53480) - Fixed error with incorrect import statement masking real import error. (#53508)
- Added some error handling around missing results from external returners. (#53517)
- Changed to match repo paramter against repo name on
salt-run git_pillar.update
, so remote name can be used instead of full remote URL. (#56605) - Changed returner function error message to be useful/less misleading. (#53628)
- Fixed
utils.user
to use correctchugid
andumask
. (#53681) - Fixed SmartOS grains under Python 3. (#53740)
- Fixed error when trying to delete more than one key using
ini.options_absent
. (#53874) - Fixed error with cmd.run when run in a chroot environment. (#53992)
- Fixed Zabbix configuration.import to use the correct values for the API version. (#54020)
- Fixed salt key management with eauth. (#54078)
- Fixed broken sdb.get_or_set_hash when using Hashicorp's Vault. (#54199)
- Fixed
mac_softwareupdate.list_available
for Catalina. (#54220) - Fixed bug blocking
user.present
createhome
on macOS. (#54288) - Fixed
postfix.show_queue
issue where queue_id, size, timestamp, sender, and recipient must exist before trying to append them. (#54298) - Fixed issue erroneously adding ssh_interface to DigitalOcean. (#54373)
- Fixed issue not using correct package keys from group info on group install on yum. (#54458)
- Fixed issue breaking state output on
test=true
with retry. (#54501) - Ignore absent filter.lfs in gitconfig. (#54817)
- Changed to use Salt's CaseInsensitiveDict, so it can be msgpack serialized. (#54899)
- Fixed trying to set too large a queue on AIX. (#54912)
- Fixed issue when Vultr API returns "not supported" as default password during VM setup. (#54933)
- Fixed issue with Jinja renderer ignoring argline. (#55124)
- Fixed osrelease grain for MS Hyper-V 2019 by providing a default year. (#55212)
- Fixed napalm support in bgp and net runners. (#55222)
- Fixed Indefinitely code in win_task. (#55273)
- Fixed
file.replace
idempotency. (#55297) - Fix incorrectly reported fileserver changes. (#55304)
- Fixed XML RPC-REPLy error in Junos by passing
huge_tree
. (#55318) - Fixed error trying to treat binary files as text when doing spm install under Python 3. (#55330)
- Correctly determine if Debian repo should be skipped. (#55402)
- Set a hard dependency on
distro
module, for Python 3.8. (#55410) - Fixed
config_data
parameter when compiling DSC viawin_dsc
module. (#55425) - Fixed Solaris virtual grain to return better info instead of always LDOM. (#55444)
- Documentation on syncing custom modules slightly inaccurate and missing info on sync to master (#55514)
- Fixed crashes in ansiblegate on Python 3 minions. (#55585)
- Fixed traceback on
http.query
when errors with the URL. (#55586) - Fixed failure to cache gpg data when
gpg_cache=True
. (#55772) - Added
__prerequired__
to the state runtime keywords filter, to prevent failures onfile.replace
. (#55775) - Fixed several Junos-related issues. (#55824)
- Fixed Vault KV version 2 support. (#55842)
- Removed remaning
pchanges
occurrences from state modules. (#55934) - Fixed issues in Slack webhook returner. (#55968)
- Fixed onlyif/unless requisites being ignored in some cases. (#55974)
- Fixed
skip_files_list_verify
whenkeep_source=False
inarchive.extracted
state. (#55975) - Fixed
seed.apply
not waiting for the disk to be free. (#56002) - Fixed issue that ignored
trim_output
argument intermittently. (#56041) - Fixed
shadow.set_password
failing to set password when user isn't in/etc/shadow
. (#56044) - Fixed failure in
user
state when moving the user's default group into thegroups
arg. (#56061) - Fixed issue incorrectly parsing YAML on command line. (#56067)
- Fixed Azure VM creation when using Python3. (#56091)
- Reverted
slspath
changes that broke a lot of states without proper deprecation. (#56119) - Lack of FQDN for host no longer blocks master startup. (#56179)
- Pillar data is correctly included from
init.sls
file. (#56186) - Fixed
check_password
for newer RabbitMQ versions. (#56193) - Fixed timeout parameter not being passed to cmd_subset and cmd_batch, and misnamed (sub -> subset) parameter. (#56203)
- Added support for virtualenv>=20.0.0
--version
strings. (#56205) - No longer ignore slots on states when
parallel: true
. (#56221) - Fix deprecation warnings for imports from collections. (#56225)
- Fixed Napalm beacons failing under Python 3. (#56243)
- Fixed failure in tomcat module. (#56269)
- Added salt-api log file to log rotation to prevent filling up the disk. (#56274)
- Fixed issue using undocumented abbreviation on zypper - now uses the full option. (#56278)
- Fixed issue parsing new
restorecon
output. (#56287) - Fixed failure for returner only working via cli and not LocalClient. (#56322)
- Fixed version issues with empty minor string. (#56358)
- Upgraded psutil dependency to 5.6.6 due to CVE-2019-18874. (#56363)
- Fixed vendored tornado to use
salt.ext.backports_abc
. (#56369) - Fixed x509 module incorrectly writing error messages as the cert. (#56372)
- Fixed error doing a
pip install salt
on Windows. (#56376) - Fixed AzureRM
create_object_model
util. (#56379) - Fixed issue
toxml
error invirt.cpu_baseline
. (#56383) - Fixed issue with exeption being raised on
virt._get_domain
when there's no VM. (#56392) - Fixed crash in
aptpkg
on long description strings. (#56396) - Fixed keyword mismatch with
cassandra_cql
andcassandra_cql_return
. (#56328) - Now uses the correct zero value for LockoutDuration in
win_lgpo
. (#56406) - Fixed issue reporting incorrect Salt version. (#56415)
- Corrected documentation for
docker_image.load
. (#56420) - Fixed
defaults.merge
documentation. (#56432) - Fixed error always reporting changes with custom index-url for pip. (#56433)
- Matching int keys within nested dictionaries now works. (#56444)
- Fixed failure to support annotated tags when using pygit2. (#56451)
- Better handle virt.pool_rebuild in virt.pool_running and virt.pool_defined states (#56454)
- Fixed gitpython Windows requirements. (#56455)
- Added
grains_cache_expiration
to minion conf documentation. (#56458) - Fixed incorrect handling of
renew=force
byacme.cert
function. (#56462) - Fixed issue with incorrect msgpack version string check. (#56463)
- Fixed infinite recursion in
pkg.group_info
. (#56476) - Fixed failure to sanitize grains for salt-ssh executions. (#56491)
- Relax version requirements for pdbedit, also handle Debian branding in the version string. (#56553)
- Fixed indentation error on
cmd.run
orchestration output. (#56554) - Fixed issue with getting incorrect SELinux context. (#56557)
- Fixed bug updating boot parameters with
virt
. (#56562) - Correctly handle
pymysql.err.InternalError
inmysql
module. (#56570) - Fixed
panos
commit example in docs. (#56581) - Fixed issue with
salt.utils.functools.call_functions
not checking for expected arguments. (#56584) - Fixed a broken statement when using arbitrary
kwargs
in mine.value. (#56593) - Fixed support for booting VMs with UEFI on virt. (#56613)
- Fixed postgres.db_remove() execution function if db is still in use. (#56631)
- Updated old redirects and http->https fixes in docs. (#56655)
- Renamed
salt/utils/docker/
tosalt/utils/dockermod/
to avoid clashes with thedocker
package from pypi. (#56669) - Changed behavior to implicitly ignore package epochs and just use the latest one. (#56681)
- Avoid throwing exception for missing security group in boto under test mode. (#56695)
- Fix some function prompts in myssql module. (#56719)
- Add appropriate comment for
svn export
state. (#56757) - Updated default master config file and updated the docs (#56053)
- Workaround upstream bug in jinja2 indent filter. (#56833)
- Fixed issue when raid.destroy is called but zero-superblock is not executed (#56838)
- Allow correct failure information to show up when calling
win_interfaces
(#56844) - Add a note about service.running (#56846)
- Updated Windows installer scripts to use Python 3.7.4. (#56873)
- Nullsoft Salt Install now uninstalls MSI installed salt. (#56883)
- Fallback to ASCII sorting when pillar keys are integers. (#56909)
- Fixed
hwaddr
andmacaddr
not being added to RedHat network config, even if they were provided. (#56910) - Fixed literal comparisons. (#56931)
- Fixed
win_system
rawunicodeescape
errors. (#56940) - Fixed
ps.top
failures with newerpsutil
library. (#56942) - Provides better stacktrace in
win_pkg
return. (#56955) - Fixed
reg.present
to respect(Default)
REG_SZ value of an empty string. (#56959) - OpenStack driver can now attach to multiple networks, also now respects provided
conn
. (#56960) - Fixed literal comparsion in
user
state. (#56972) - Additional fixes for using cron state with non-root Minion (#56973)
- Added ARPCHECK to the template for RHEL8 networking. (#57047)
- Fixed
aptpkg
to useforce-confnew
on it's own, andforce-confold
withforce-confdef
. (#57051) - Fixed acme.certs state to return /etc/letsencrypt/live subdirectories (#57056)
- Fixed error with
fileserver.update
failing withgitfs
backend wasgit
, andfileserver.clear_file_list_cache
not clearing gitfs cache when the backend was notgit
. (#57063) - Fixed LazyLoader crashing when using ssh client via salt-api. (#57119)
- Publisher ACL doc fixes (#48915)
- Fixed
acl.present
to properly detect changes for default ACLs and recursive folders. (#57147) - Fixed Minion/Minon typo in docs. (#57181)
- Fix UnicodeDecodeError when apply file.managed with binary contents in test mode. (#57184)
- Ensure errors are returned for missing pillars. (#57208)
- Fix
ps.top
failures on macOS when iterating over zombie processes. (#57216) - Add vcredist_2013 (specifically msvcr120.dll) for OpenSSL/M2Crypto support on Windows. Fixes x509 module support. (#57266)
- Fix systemd invocation on latest Linux Arch version. (#57299)
- Updated rpm_lowpkg.version_cmp log messages and unit tests (#57347)
- Added rotation for proxy logs. (#57353)
- Fixed
win_system.join_domain
failures. (#57360) - Fixed
template_vars
functionality on Junos. (#57388) - Filter out aliases/duplicates from zypperpkg for <=SLE12SP4. (#57392)
- Fix issue with finding the real python executable during tests (#56686)
- Fix broken link regarding the 1024 character limit for YAML keys (#56540)
- Fix grain.delkey grains.delval for nested keys (#54819)
- Added support for list in
include_pat/exclude_pat
infile.recurse
. (#2747) - Added
validate
to tls module. (#7424) - Pillar relative includes. (#8875)
- Added silent recurse option to
file.directory
state. (#44553) - Added bhvye support to virt. (#47619)
- Added
kernelparams
grain for Linux. (#48501) - Added
systempath
PATH grain. (#49049) - Added appoptics returner. (#49066)
- Added ability to use the minion's region if specified. (#49097)
- Added reactor tuning documentation. (#49214)
- Added support for ipaddr/ipv6ipaddrs, loopback devices, dns_nameservers/dns_serach lists or strings, and multiple addresses per interface. (#49355)
- Added slsutil.banner for creating managed by salt message in files, and
slsutil.boolstr
for converting Pillar bool values to appropriate string representation. (#49396) - Added
normalize_name
topkgin
module. (#49469) - Added ability to use regex pattern with
ps.pgrep
. (#49565) - Added
merge
option tomatch.filter_by
. (#49845) - Added ability to disable requisites during state runs. (#49955)
- Add a reactor "leader", especially useful for multimaster hot-hot environments. (#50053)
- Added
method_call
Jinja filter to help reduce boilerplate. (#50152) - Added ability for async pillar refresh. (#56881)
- Added
shutdown_host
to vmware cloud. (#50177) - Added
drbd.status
module. (#50410) - Added
file.keyvalue
state. (#50627) - Added JID lookup message in case minion times out. (#50704)
- Niceness control options added to the master config, for POSIX platforms. (#50905)
- Added
serial_type
to virt module. (#50930) - Added RPC process documentation. (#50954)
- Added advanced initdb option support to
postgres_cluster.present
. (#50998) - Added support for GCE accellerators in Salt Cloud. (#51033)
- Added
broadcast
address tonetwork.convert_cidr
return. (#51521) - Added options for gitfs and git_pillar fallback branch. (#51971)
- Add
fat
as a validfs_type
forparted
module. (#52016) - Added support for comments in the host state/module. (#52185)
- Added offline bootstrap for Chocolatey. (#52233)
- Added support for listing all active running jobs on the master. (#52241)
- Added ability to get expected cache location. (#52305)
- Added ability to pass a timeout value to beacons. (#52314)
- Added support for
btrfs property
command. (#52699) - Added ability to get minion's network information. (#53100)
- Added support for
not_before
andnot_after
for x509 certificates. (#53148) - Added support for extra modules that will be loaded before checking the rest of the path. (#53167)
- Added initial execution module to kubeadm. (#53345)
- Added firstboot function to
systemd_service
. (#53381) - Added ability to pass arbitrary kwargs to zypper pkg. (#53693)
- Added options for multi-use tokens for vault. (#54094)
- Added devinfo module to get hardware information. (#54267)
- Adds versionlock plugin detection for yum/dnf. (#54798)
- Improved nxos support. (#54931)
- Added root and no_recommends parameters for Zypper and RPM. (#54954)
- Added
token
parameter inblkid
. (#54964) - Added
cron.get_entry
. (#54985) - Added support for newer monit versions. (#55140)
- Added btrfs and xfs as valid fstypes for parted and mkfs. (#55209)
- Added functionality for
cmd.run_all
to accept a list when using powershell. (#55213) - Added Azure Blob Storage as an optional external pillar. (#55493)
- Added ability to turn off FQDNs grains with
enable_fqdns_grains: False
. (#55581) - Added
virt.*defined
states. (#55814) - Add towncrier tool to the Salt project to help manage CHANGELOG.md file. (#55836)
- Added Pull Request requirements to documentation (#55862)
- Add selinux support to file.managed (#40703)
- Added hold and unhold support for
mac_brew_pkg
. (#55978) - States/modules added for managing Helm. (#56081)
- Added parallel run support for saltcheck. (#56097)
- Added multiple asserts against module output for saltcheck. (#56101)
- Added
state.test
as an alias forstate.apply ... test=True
. (#56298) - Added default argumetn to
vault.read_secret
andvault.list_secrets
. (#56311) - Added
fromrepo
topkg.upgrade
forpkgng
. (#56368) - Added IP filtering by network. (#56394)
- Added more information for
__virtual__
failures. (#56395) - Added logout functionality to docker. (#56439)
- Added ability to fetch master public key from minion. (#56449)
- Added
pending_reboot
grain for Windows systems. (#56489) - Added support for forcing refresh in zypper. (#56519)
- Added
refresh_pillar
arg tograins.setval
. (#56573) - Added new roster option
ssh_pre_flight
. (#56488) - Added ability to minions to read pillar files from local filesystem, and get commands from remote master. (#56611)
- Added support for rendering toml states. (#56615)
- Added
set_path
option for salt-ssh shim. (#56627) - Added
win_wua.installed
to check a list of updates that apply to the current Windows build. (#56640) - Added ability to compare package versions in Jinja templates. (#56678)
- Add
auto_detect
feature forssh_ext_alternatives
. (#56894) - Add ability to display sys.doc style outputs but without actually loading the module. (#56902)
- Added plist serializer. (#56954)
- Added support for onedir/pop-build Salt in the
pip
module. (#56988) - Add support for disks volumes in virt.running state (#57005)
- Add virt.all_capabilities helper function (#57009)
- supervisord.status_bool method (#57049)
- Added support for msgpack versions>=1.0 (#57122)
- Added Python 2 deprecation FAQ (#57273)
- Added support for # of hashing rounds when using pycrypto. (#57355)
fetchonly
parameter added forpkg.upgrade
when usingpkgng
(FreeBSD). (#57371)- Added
efi
parameter to virt module, souefi
firmware can be auto selected. (#57397) - #56637 - Add
win_wua.installed
to thewin_wua
execution module - Clarify how to get the master fingerprint (#54699)
- Allow "extra_filerefs" as sanitized kwargs for SSH client. Fix regression on "cmd.run" when passing tuples as cmd. (#59664)
- Allow all ssh kwargs as sanitized kwargs for SSH client. (#59748)
- Fix argument injection bug in restartcheck.restartcheck. This change hardens the fix for CVE-2020-28243.
- Fix runners that broke when patching for CVE-2021-25281
- Fix issue with runners in SSE
- CVE-2020-28243 - Fix local privilege escalation in the restartcheck module. (CVE-2020-28243)
- CVE-2020-28972 - Ensure authentication to vcenter, vsphere, and esxi server
validates the SSL/TLS certificate by default. If you want to skip SSL verification
you can use
verify_ssl: False
. (CVE-2020-28972) - CVE-2020-35662 - Ensure the asam runner, qingcloud, splunk returner, panos
proxy, cimc proxy, zenoss module, esxi module, vsphere module, glassfish
module, bigip module, and keystone module validate SSL by default. If you want
to skip SSL verification you can use
verify_ssl: False
. (CVE-2020-35662) - CVE-2021-25281 - Fix salt-api so it honors eauth credentials for the wheel_async client. (CVE-2021-25281)
- CVE-2021-25282 - Fix the salt.wheel.pillar_roots.write method so it is not vulnerable to directory traversal. (CVE-2021-25282)
- CVE-2021-25283 - Fix the jinja render to protect against server side template injection attacks. (CVE-2021-25283)
- CVE-2021-25284 - Fix cmdmod so it will not log credentials to log levels info and error. (CVE-2021-25284)
- CVE-2021-3144 - Fix eauth tokens can be used once after expiration. (CVE-2021-3144)
- CVE-2021-3148 - Fix a command injection in the Salt-API when using the Salt-SSH client. (CVE-2021-3148)
- CVE-2021-3197 - Fix ssh client to remove ProxyCommand from arguments provided by cli and netapi. (CVE-2021-3197)
- Fixes salt-ssh authentication when using tty (#58922)
- Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh. (CVE-2020-25592)
- Prevent shell injections in netapi ssh client (cve-2020-16846)
- Prevent creating world readable private keys with the tls execution module. (cve-2020-17490)
- #57100 - Address Issues in CVE Release
- #56237 - Fix alphabetical ordering and remove duplicates across all documentation indexes - @myii
- #56325 - Fix hyperlinks to
salt.serializers
and other documentation issues - @myii
- #56627 - Add new salt-ssh set_path option
- #51379 - Backport 51379 : Adds .set_domain_workgroup to win_system
- #56730 - Backport #52992
- #56987 - CVE fix
- #56082 - Fix saltversioninfo grain for new version
- #56143 - Use encoding when caching pillar data
- #56172 - Only change mine data if using new allow_tgt feature
- #56094 - Fix type error in TornadoImporter
- #56174 - MySQL module fixes
- #56149 - Fix to scheduler for use of when and splay
- #56197 - Allows use of inline powershell for cmd.script args
- #55894 - pdbedit module should check for version 4.8.x or newer
- #55906 - smartos.vm_present could not handle nics with vrrp_vrid property
- #56218 - Changed StrictVersion checking of setuptools to LooseVersion
- #56099 - Fix Windows and macOS requirements handling in setup.py
- #56068 - Update the bootstrap script to latest version, v2020.02.24
- #56185 - Fix regression in service states with reload argument
- #56341 - Revert "Don't remove one directory level from slspath"
- #56290 - Ensures popping lgpo.secedit_data does not throw KeyError
- #56339 - Fix win_dns_client when used with scheduler
- #56215 - Fix for unless requisite when pip is not installed
- #56060 - Fix regex string for Del and DelVals
- #56337 - Handle Adapter Type 53 and Undefined Types
- #56160 - Fix issue with existing reg_dword entries
- #56358 - Fix version instantiation when minor is an empty string
- #56272 - Properly resolve the policy name
- #56310 - Only process ADMX files when loading policies
- #56327 - keep cache_copied_files variable a list
- #56360 - dont require virtualenv.virtualenv_version call, removed in 20.0.10
- #56378 - Include _version.py if building wheel
- #56376 - Fix win deps
- #56418 - Ensure version.py included before we install
- #56435 - Update mac build scripts
- #54474 via #54475 -
virt.pool_delete
fast parameter removed. - @cbosdo - #54943 - Removed RAET transport method per the deprecation schedule - @s0undt3ch
- #54983 - Removed Hipchat module, due to Hipchat discontinuation - @mchugh19
- #55197 - Removed Google+ link since Google+ is gone - @sramkrishna
- #55539 - Removed salt.auth.Authorize class and the
any_auth
method - #55552 - Removed the config options
hgfs_env_whitelist
,hgfs_env_blacklist
,svnfs_env_whitelist
, andsvnfs_env_whitelist
in favor ofhgfs_saltenv_whitelist
,hgfs_saltenv_blacklist
,svnfs_saltenv_whitelist
,svnfs_saltenv_blacklist
. - #55569 - Removed nova cloud driver in favor of the openstack driver.
- #55573 - Removed
quiet
kwarg in cmd.run state module. Please setoutput_loglevel
toquiet
instead. - #55609 - Removed smartos grains
hypervisor_uuid
anddatacenter
in favor ofmdata:sdc:server_uuid
andmdata:sdc:datacenter_name
. - #55641 - Removed
enviroment
kwarg from heat state and execution module. Please use correct spellingenvironment
. - #55680 - Removed deprecated args from several
dockermod
functions - @Ch3LL - #55682 - Removed
get_known_host
andrecv_known_host
functions from ssh module. - #55722 - Removed all functions in salt/utils/init.py.
- #55725 - Removed
gitfs_env_whitelist
andgitfs_env_blacklist
in favor ofgitfs_saltenv_whitelist
andgitfs_saltenv_blacklist
.
- #55592 - Add deprecation warning for
glance
state and execution module - @Ch3LL - #55612 - Bump keystone deprecation to Sodium - @Ch3LL
- #55614 - Deprecate jinja filters for Neon - @Ch3LL
- #55664 - Bump deprecation warning to Aluminium for neutron module - @Ch3LL
- #55679 - Deprecate
boto_vpc.describe_route_table
in Magnesium - @Ch3LL - #55726 - Deprecate
override_name
in Sodium - @Ch3LL
- SEP 1, SEP 14 - Adopted keepachangelog format.
- SEP 14 - Changed to numeric versions.
- #49078 via #54572 - Use
ip link set iface up/down
instead ofifup/ifdown
- @dmurphy18 - #50023 via #54620 - Change to reduce
roster_matcher
internal complexity - @kojiromike - #50579 via #55389 - Update kafka returner to use confluent kafka - @justindesilets
- #52749 - Padding change in versions report output - @dwoz
- #54013 - Set
session_id
cookie in therest_tornado
backend. - #55002 - Changed
mdadm_raid
metadata to text to allow float pillar data - @aplanas - #55354 - Changed naive usage to use wrapped msgpack - @Akm0d
- #55423 - Changed default configs to be immutable - @s0undt3ch
- #55464 - Changed to name subprocesses - @s0undt3ch
- #55500 - Start Linting Under Py3 - @s0undt3ch
- #55643 - Remove deprecation for
refresh_db
in aptpkg - @Ch3LL - #55660 - Use wrapped json module for ThreadsafeProxy - @Akm0d
- #55683 - Changed
prune_services
in the firewall state module to be False by default. And updateforce_masquerade
to be False by default in the firewall execution module. - #55739 - Microoptimized the command to set FreeBSD's virtual grain - @asomers
- #6922 via #51343 - Fixed errors when producing network errors - @waynew
- #13971 via #53462 - Support all valid protos for remote sources - []
- #37646 - Fixed recursion error during msgpack serialization - @waynew
- #39875 via #52710 and #54665 - Fixed complex grain comparison - @mickenordin
- #41818 via #51988 and #54664 - Fixed
file.comment
andfile.uncomment
for when the pattern existed in both forms - @mbunkus - #49222 via #49223 and #54668 - Fixed salt-key
token_file
creation when using external auth - @msciciel - #49256 via #55060 - Fixed proxmox failure to apply settings - @BrianSidebotham
- #49490 via #55404 - Fixed misleading cmdmod error message - @rares-pop and @joechainz
- #49748 via #49843 and #54546 - Fixed
file.rename
to be successful when target exists and force not set - @MTecknology - #49903 via #54625 - Fixed inconsistencies with
consul_pillar
configuration parsing - @FraaJad - #49977 via #55050 - [#4997]Fix novaclient api - @slivik
- #50041 via #54566 - Actually use
extra_install_flags
inwin_pkg
module - @cmcmarrow - #50374 via #54616 - Fixed
local_cache
returner to report proper path in error message - @isbm - #50523 via #54605 - Fixed OS arch fallback when no
rpm
is installed - @isbm - #50757 via #54638 - Fixed restartcheck bytestring bug - @10ne1
- #50938 via #54642 - Fixed performance issue with undefined opkg functions - @andzn
- #50970 via #54631 - Fix
win_path
index checks to allow for 0 - @jalandis - #51038 via #55706 - Fixed zabbix module failure on boolean return - @thechile
- #51537 via #51538 and #54650 - Fixed directory vs. file issue in
salt.utils.etcd_util
- @arizvisa - #51711 via #51718 - Fix Cheetah template renderer - @arizvisa
- #51785 via #54645 - Fixed POSIX vs. Windows inconsistencies in
salt.utils.path.which
- @arizvisa - #51795 via #51801 - Fix netbox execution module cannot be loaded - @misch42
- #51811 via #51813 and #54647 - Fixed
npm
version check on Windows - @arizvisa - #51915 via #54685 - Changed nulls to empty strings to prevent Zabbix API errors - @timdufrane
- #51929 via #54611 - Fixed lvm to not show errors when pv, lv, or vg is not expected - @aplanas
- #51954 via #54603 - Ignore misleading errors during
linuxlvm.pvcreate
and.pvremove
- @aplanas - #52230 via #52352 and #54640 - Fixed salt failing on missing
_syspaths
variables - @alan-cugler - #52265 via #54569 - Stop the Windows installer from hanging - @twangboy
- #52431 via #52574 and #54687 - Fix inconsistent
virt.get_xml
usage - @zer0def - #52538 via #52747 and #54678 - Fix issue on Python3 when reading csv pillar with binary format - @que5o
- #52589 via #54536 - Ignore retcode when checking filesystem type - @terminalmage
- #52786 via #54588 - Fixed setting homedrive, profile, logonscript, and description for
user.present
under Windows- @twangboy - #52788 via #51706 - Ignore
HOST_NOT_FOUND
andNO_DATA
when resolving FQDN - @aplanas - #53017 via #54196 - Fixed virt state on stopped VMs, virt.running's use of virt.vm_state, virt.pool_running, and virt.network_define - @cbosdo
- #53401 via #54166 - Fixed Docker image grains and pillar - @waynew
- #53600 via #54480 - Allow Windows minion to manage a binary file from
ext_pillar
- @xeacott - #53935 - Poweroff when shutting down FreeBSD, NetBSD, and OpenBSD - @morganwillcock
- #54072 - Check for Windows registry key before trying to list it - @twangboy
- #54177 - Fixed
file.managed
bug withcontents_newline
flag - @xeacott - #54197 -
virt.network_define
can now create NAT networks - @cbosdo - #54216 - Fixed Homebrew cask namespace support - @cdalvaro
- #54335 - Fixed
virt.full_info
output - @cbosdo - #54402 via #54900 - Fix gitfs to use bytes when using gitpython with python3.x - @vin01
- #54411 - Correctly handle
wusa
3010 return code - @tlemarchand - #54653 via #55403 - Fixed issue with
publish.publish
trim mods after comma split - @bmiguel-teixeira and @saltybaker - #54769 - Fixed
cmd.run
to call bash only when necessary on macOS - @cdalvaro - #54896 - Fix multiple LGPO issues - @twangboy
- #55003 - Fix
collections
ABC warning - @aplanas - #55005 - Fixed
mount.remount
when fstype was unset - @aplanas - #55006 - Fixed args/kwargs bug in loop state - @aplanas
- #55052 - Fixed fileclient for ftp connections - @garethgreenaway
- #55065 - Fixed multiprocessing process after fork and finalize regression - @s0undt3ch
- #55083 - Fixed iLo module to use proper tempfile settings - @garethgreenaway
- #55137 - Fixed
smartos_imgadm
to correctly handle orphan images - @sjorge - #55149 via #55497 - Removed incorrect pass of opts to
compound_match.match
- @Akm0d - #55165 - Fixed
virt.volume_infos
to handle volumes missing since last refresh - @cbosdo - #55190 - Fixed missing lazyloader functionality - @max-arnold and @mattp-
- #55191 - Fixed missing
list_downloaded
for apt module - @brejoc - #55196 - Fixed
schedule.modify
to use function from current job - @garethgreenaway - #55207 - Fixed complex CORS option on CherryPy - @niflostancu
- #55216 - Fixed failure to check for jid before returning data - @brejoc
- #55258 - Fixed aptpkg.info to return only installed packages - @mateiw
- #55271 - Fixed Py3 compatability issue in upstart - @s0undt3ch
- #55336 - Fixed grains to allow
__utils__
in grains modules - @max-arnold - #55351 - Fixed
virt.get_hypervisor()
- @cbosdo - #55374 - Fixed issue with
zfs.filesystem_present
under Python3 - @silenius - #55434 - Stopped removing a directory level from slspath in templates - @terminalmage
- #55441 - Fixed bug in logging - @s0undt3ch
- #55452 - Fixed missing service.reload alias in
gentoo_service
module - @vulnbe - #55472 - Fixed several Py2/Py3 Unicode issues - @s0undt3ch
- #55501 - Fixed slowdown by using ss filter to match TCP connections on Linux - @cifvts
- #55510 - Corrected
num_cpus
andcpu_model
grains for IBM/S390 - @FerrySchuller - #55532 - Fixed missing beacons timeout error handling - @s0undt3ch
- #55534 - Stopped
_virtual
from hard coding the 'virtual' key. - @cmcmarrow - #55540 - Fixed race condition in service.running on systemd - @terminalmage
- #55557 - Changed to use UTC times for jids - @dwoz
- #55578 - Fixed
postgres.datadir_init
to usechecksums
arg - @meaksh - #55580 - Fixed inconsistency with
pkg.list_pkgs
when usingattr
on RHEL systems - @meaksh - #55582 - Do not report patches as installed when not all the related pkgs are installed (yumpkg) - @meaksh
- #55583 - Fixed
utils.network
issue with IPv6 that could cause a crash - @meaksh - #55584 - Stopped breaking multiline repo files in
yumpkg
- @meaksh - #55589 - Acme state fixes - @github-abcde
- #55607 - Fixed failure to fire events to all syndics from MoM when using tcp transport - @lukasraska
- #55616 - Fixed jboss
run_operation
anddatasource_exists
- @cmcmarrow - #55624 - Fixed issue with matchers, fallback to
ext_pillar
if there is no pillar in opts - @vquiering - #55635 - Fixed issue with minion signing during/after job execution - @lukasraska
- #55651 - Fixed
ldap.managed
errors - @sathieu - #55655 - Fixed using password hashes with MariaDB - @pprkut
- #55672 - Fixed issue with busy guestfs mount folders - @cbosdo
- #55694 - Fixed S3 pillar pagination - @garethgreenaway
- #55705 - Fixed zypper upgrade fromrepo - @pkwestm
- #55730 - Restored original minion configured
publish_port
behavior - @mattp- and @Ch3LL - #55780 - Fallback to disabled
LG_INCLUDE_INDIRECT
when DC is unavailable - @lukasraska - #55795 - Fixed issue with whitespace in ADML data - @twangboy
- #55796 - Fixed cached
osrelease_info
grain type - @srg91 - #55817 - Bring #51372 to Master Branch - @twangboy
- #55823 - Fix issue with overly long names in the LGPO module - @twangboy
- #55843 - Fixed
file.mkdir
to respecttest=True
- @mchugh19 - #55845 - Fixed logging to return multiprocessing queue if it's already set - @s0undt3ch
- #16674 via #50083 and #54632 - Added
migrate
support for Django module - @jrbeilke - #39475 - Added
hardlink
forfile
state and module - @arizvisa - #48792 via #49399 and #54879 - Add IIS webconfiguration - @tlemarchand
- #49212 via #49378 - Added
minion_id_remove_domain
- @markuskramerIgitt - #49250 via #54657 - Add capability
jboss7
to keep unchanged deployments - @garethgreenaway - #49481 via #54532 - Added
grains_blacklist
to block specific grains - @rongzeng54 - #50005 via #54651 - Added ability to create events based on an arbitrary script's output - @austinpapp
- #50306 via #54542 - Added
noaction
flag for opkg execution module - @rares-pop - #50706 via #54604 - Added
token
todisk.blkid
to allow extended search - @aplanas - #50953 via #54548 - Add
nvme_nqn
grain - @sdodsley - #51047 via #55253 - Added new execution module for troubleshooting Jinja map files- @terminalmage and @max-arnold
- #51074 via #54613 - Added
fat
parameter to disk module to allow specifying FAT sizes - @aplanas - #51385 via #54656 - Added support for directories and checking for free space in the
disk
state - @maxim-sermin - #51758 via #55400 - Added cwd grain - @theskabeater and @dwoz
- #52293 via #55723 - Added saltenv support in slsutil.renderer - @afischer-opentext-com
- #52458 via #54623 - Added
camel_to_snake_case
andsnake_to_camel_case
to stringutils - @github-abcde - #52715 via #54577 - Added webhook support to Slack state - @garethgreenaway
- #52764 via #54058 - Added vSphere tagging ability - @xeacott
- #53307 - Added slot parsing inside nested state data structures - @max-arnold
- #53621 - Added support for
git_pillar_update_interval
- @sathieu - #53736 - Added index get_settings, put_settings methods for Elasticsearch module. - @Oloremo
- #53738 - Added
request_interval
feature tohttp.wait_for_successful_query
module - @Oloremo - #53959 - Added additional optional
warnings
totest
module - @max-arnold - #54505 - Added cluster get_settings, put_settings and flush_synced methods for Elasticsearch module. - @Oloremo
- #54518 via #54526 - Add salt-cloud support for Tencent Cloud - @likexian
- #54902 - Added
cert_info
beacon to get cert information from local files - @nicholasmhughes - #54903 - Added multipart/form-data file posting to
http.query
util - @nicholasmhughes - #54948 - Added ability to pass grains on minion startup event - @admd
- #54955 - Added root parameter to useradd, shadow and groupadd - @aplanas
- #54956 - Added root parameter for wait and run states - @aplanas
- #54958 - Added optional root parameter for systemd - @aplanas
- #54959 - Added new chroot module - @aplanas
- #54960 - Added new freezer module - @aplanas
- #54961 - Added all subvolume commands to btrfs - @aplanas
- #54965 - Added fstab present/absent to mount state - @aplanas
- #54977 - Added xml state & module - @mchugh19
- #54981 - Added
ssh_auth.manage
to both add and remove ssh keys - @mchugh19 - #54982 - Added new AWS SSM module - @mchugh19
- #54984 - Added saltutil states to match saltutil modules - @mchugh19 and @max-arnold
- #54991 - Added keystore state and modules for Java keystore files - @mchugh19
- #54992 - Added ability to use salt modules in onlyif and unless - @mchugh19 and @gtmanfred
- #54993 - Added support for parsing slot results - @mchugh19
- #54996 - Added
binds
parameter forrun_chroot
- @aplanas - #55001 - Added ability to ignore errors on
mdadm_raid.examine
- @aplanas - #55047 - Added ability to deprecate by date - @s0undt3ch
- #55145 and #50150 - Added status code lists and status regex for
http.query
state - @Ajnbro and @mchugh19 - #55150 - Added 'ppc64le' as a valid RPM package architecture - @meaksh
- #55195 - Added
salt_version
module - @rallytime and @max-arnold - #55200 - Added
virt.pool_deleted
state - @cbosdo - #55202 - Added test ability and pool editing to
virt.pool_running
- @cbosdo - #55203 - Adds enabled kwarg to
aptpkg
module - @brejoc - #55245 - Adding kernel boot parameters to libvirt xml - @ldeweysuse
- #55256 - Added status to dpkg.info response - @mateiw
- #55342 - Added Slack webhook returner - @cdalvaro
- #55345 - Add chroot apply_, sls, and highstate for state execution - @aplanas
- #55346 - Added
virt.pool_capabilities
module - @cbosdo - #55418 - Added clean_parent argument for the archive state. - @Oloremo
- #55420 - Added performance tracing/logging to gitfs file_list cache rebuild - @duckfez
- #55424 - Added Azure DNS modules and states - @nicholasmhughes
- #55432 - Add null to YAML dumper for threadsafe loader - @Akm0d
- #55443 - Added a skip_files_list_verify argument to archive.extracted state. - @Oloremo
- #55448 - Adds
downloadonly/download_only
alias for aptpkg module - @brejoc - #55480 - Add lint pre-commit hooks - @s0undt3ch
- #55492 - Allow arbitrary arguments to be passed through the pip module - @Akm0d
- #55506 - Added
hashutil.hmac_compute
- @Ajnbro - #55515 - Added
disk_set
anddisk_toggle
to parted module - @aplanas - #55516 - Added
not_change
to several functions in the mount module,set_fstab
& others - @aplanas - #55565 - Added ability to pass the context dictionary to Sminion and Runner - @s0undt3ch
- #55590 - Added
version
to depends decorator - @github-abcde - #55593 - Added a support for a global proxy to pip module. - @Oloremo
- #55613 - Added saltcheck updates for Neon - @mchugh19
- #55636 - Added DSON outputter - @terminalmage
- #55637 - Added wildcard matches and grains matching to
config.option
- @terminalmage - #55639 - Added
loop.until_no_eval
- @github-abcde - #55666 - Added the
internal
flag to openvswitch - @Akm0d - #55711 - Added
fluentd
engine - @mchugh19 - #55733 - Added
salt.utils.data.filter_falsey
- @github-abcde - #55749 - Added port of
json_query
Jinja filter from Ansible - @max-arnold - #55751 - Added the osfullname grain on FreeBSD - @asomers
- #55759 - Added
salt.utils.data.recursive_diff
- @github-abcde - #55760 - Add minion-side access control - @github-abcde
- #55762 - Added
virt.(pool|network)_get_xml
functions - @cbosdo - #55767 - Added ability to manipulate RabbitMQ upstream definitions - @github-abcde
- #55768 - Added
boto3_elasticsearch
module and state - @github-abcde - #55844 - Allow multiple running instances of Salt engine - @garethgreenaway
- #54521 -
failhard
during orchestration now fails as expected - @mattp- / @Oloremo - #54741 -
schedule.run_job
without time element now works as expected - @garethgreenaway - #54755 - Pip state ensures pip was imported before trying to remove - @dwoz
- #54760 - Fix
salt-cloud -Q
for OpenStack driver - @vdloo / @Akm0d - #54762 - IPv6 addresses with brackets no longer break master/minion communication - @dhiltonp
- #54765 - Masterless jinja imports - @dwoz
- #54776 -
ping_interval
in minion config no longer prevents startup - @dwoz - #54820 -
scheduler.present
no longer always reports changes when scheduler is disabled - @garethgreenaway - #54941 - Pillar data is no longer refreshed on every call - @dwoz