(release-3006.1)=
Salt 3006.1 release notes#
Changelog#
Fixed#
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=Trueto thefile.cachedstate module #63785Updated
source_hashdocumentation and added a log warning whensource_hashis used with a source other thanhttp,httpsandftp. #63810Fixed 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=Nonewhen usingsalt-ssh#64109Disable class level caching of the file client on
SaltCacheLoaderand properly use context managers to take care of initialization and termination of the file client. #64111Fixed 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. #64113Fix 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
**kwargsand be explicit about the keyword arguments to pass, namely, tocp.cache_filecall insalt.states.pkg#64118lgpo_reg.set_value now returns
Trueon success instead ofNone#64126Make 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-sshCLI calls it'sfsclient.destroy()method when done. #64184Stop using the deprecated
salt.transport.clientimports. #64186Add a
.pthto the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. #64192Fix
lgpo_regstate to work with User policy #64200Cloud deployment directories are owned by salt user and group #64204
lgpo_regstate now enforces and reports changes to the registry #64222