From 4e8b77df671fd756970fe4fb08122fba9b47c50b Mon Sep 17 00:00:00 2001 From: Salt Project Packaging Date: Fri, 5 May 2023 17:53:34 +0000 Subject: [PATCH] Release v3006.1 --- CHANGELOG.md | 36 +++++++ changelog/61236.fixed.md | 1 - changelog/62477.fixed.md | 1 - changelog/63589.fixed.md | 1 - changelog/63785.fixed.md | 1 - changelog/63810.fixed.md | 1 - changelog/64081.fixed.md | 1 - changelog/64082.fixed.md | 1 - changelog/64102.fixed.md | 3 - changelog/64103.fixed.md | 3 - changelog/64109.fixed.md | 1 - changelog/64111.fixed.md | 1 - changelog/64113.fixed.md | 2 - changelog/64114.fixed.md | 1 - changelog/64117.fixed.md | 1 - changelog/64118.fixed.md | 1 - changelog/64126.fixed.md | 1 - changelog/64141.fixed.md | 1 - changelog/64150.fixed.md | 1 - changelog/64158.fixed.md | 1 - changelog/64170.fixed.md | 2 - changelog/64184.fixed.md | 1 - changelog/64186.fixed.md | 1 - changelog/64192.fixed.md | 1 - changelog/64200.fixed.md | 1 - changelog/64204.fixed.md | 1 - changelog/64222.fixed.md | 1 - doc/man/salt-api.1 | 2 +- doc/man/salt-call.1 | 2 +- doc/man/salt-cloud.1 | 2 +- doc/man/salt-cp.1 | 2 +- doc/man/salt-key.1 | 2 +- doc/man/salt-master.1 | 2 +- doc/man/salt-minion.1 | 2 +- doc/man/salt-proxy.1 | 2 +- doc/man/salt-run.1 | 2 +- doc/man/salt-ssh.1 | 2 +- doc/man/salt-syndic.1 | 2 +- doc/man/salt.1 | 2 +- doc/man/salt.7 | 181 +++++++++++++++++++++++++++------- doc/man/spm.1 | 2 +- doc/topics/releases/3006.1.md | 52 ++++++++++ pkg/debian/changelog | 38 +++++++ pkg/rpm/salt.spec | 37 ++++++- 44 files changed, 321 insertions(+), 81 deletions(-) delete mode 100644 changelog/61236.fixed.md delete mode 100644 changelog/62477.fixed.md delete mode 100644 changelog/63589.fixed.md delete mode 100644 changelog/63785.fixed.md delete mode 100644 changelog/63810.fixed.md delete mode 100644 changelog/64081.fixed.md delete mode 100644 changelog/64082.fixed.md delete mode 100644 changelog/64102.fixed.md delete mode 100644 changelog/64103.fixed.md delete mode 100644 changelog/64109.fixed.md delete mode 100644 changelog/64111.fixed.md delete mode 100644 changelog/64113.fixed.md delete mode 100644 changelog/64114.fixed.md delete mode 100644 changelog/64117.fixed.md delete mode 100644 changelog/64118.fixed.md delete mode 100644 changelog/64126.fixed.md delete mode 100644 changelog/64141.fixed.md delete mode 100644 changelog/64150.fixed.md delete mode 100644 changelog/64158.fixed.md delete mode 100644 changelog/64170.fixed.md delete mode 100644 changelog/64184.fixed.md delete mode 100644 changelog/64186.fixed.md delete mode 100644 changelog/64192.fixed.md delete mode 100644 changelog/64200.fixed.md delete mode 100644 changelog/64204.fixed.md delete mode 100644 changelog/64222.fixed.md create mode 100644 doc/topics/releases/3006.1.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 834323eec49..1132b94882b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,42 @@ Versions are `MAJOR.PATCH`. # Changelog +## 3006.1 (2023-05-05) + + +### Fixed + +- Check that the return data from the cloud create function is a dictionary before attempting to pull values out. [#61236](https://github.com/saltstack/salt/issues/61236) +- Ensure NamedLoaderContext's have their value() used if passing to other modules [#62477](https://github.com/saltstack/salt/issues/62477) +- add documentation note about reactor state ids. [#63589](https://github.com/saltstack/salt/issues/63589) +- Added support for ``test=True`` to the ``file.cached`` state module [#63785](https://github.com/saltstack/salt/issues/63785) +- Updated `source_hash` documentation and added a log warning when `source_hash` is used with a source other than `http`, `https` and `ftp`. [#63810](https://github.com/saltstack/salt/issues/63810) +- Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. [#64081](https://github.com/saltstack/salt/issues/64081) +- Fix dmsetup device names with hyphen being picked up. [#64082](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64102), [#64103](https://github.com/saltstack/salt/issues/64103) +- Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` [#64109](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64113) +- Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. [#64114](https://github.com/saltstack/salt/issues/64114) +- Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package [#64117](https://github.com/saltstack/salt/issues/64117) +- Stop passing `**kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` [#64118](https://github.com/saltstack/salt/issues/64118) +- lgpo_reg.set_value now returns ``True`` on success instead of ``None`` [#64126](https://github.com/saltstack/salt/issues/64126) +- Make salt user's home /opt/saltstack/salt [#64141](https://github.com/saltstack/salt/issues/64141) +- Fix cmd.run doesn't output changes in test mode [#64150](https://github.com/saltstack/salt/issues/64150) +- Move salt user and group creation to common package [#64158](https://github.com/saltstack/salt/issues/64158) +- Fixed issue in salt-cloud so that multiple masters specified in the cloud + are written to the minion config properly [#64170](https://github.com/saltstack/salt/issues/64170) +- Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. [#64184](https://github.com/saltstack/salt/issues/64184) +- Stop using the deprecated `salt.transport.client` imports. [#64186](https://github.com/saltstack/salt/issues/64186) +- Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. [#64192](https://github.com/saltstack/salt/issues/64192) +- Fix ``lgpo_reg`` state to work with User policy [#64200](https://github.com/saltstack/salt/issues/64200) +- Cloud deployment directories are owned by salt user and group [#64204](https://github.com/saltstack/salt/issues/64204) +- ``lgpo_reg`` state now enforces and reports changes to the registry [#64222](https://github.com/saltstack/salt/issues/64222) + + ## 3006.0 (2023-04-18) diff --git a/changelog/61236.fixed.md b/changelog/61236.fixed.md deleted file mode 100644 index 4c50beedcba..00000000000 --- a/changelog/61236.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Check that the return data from the cloud create function is a dictionary before attempting to pull values out. diff --git a/changelog/62477.fixed.md b/changelog/62477.fixed.md deleted file mode 100644 index 88f47bdb4bd..00000000000 --- a/changelog/62477.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Ensure NamedLoaderContext's have their value() used if passing to other modules diff --git a/changelog/63589.fixed.md b/changelog/63589.fixed.md deleted file mode 100644 index 1f63f9ee993..00000000000 --- a/changelog/63589.fixed.md +++ /dev/null @@ -1 +0,0 @@ -add documentation note about reactor state ids. diff --git a/changelog/63785.fixed.md b/changelog/63785.fixed.md deleted file mode 100644 index 4a8406126ea..00000000000 --- a/changelog/63785.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Added support for ``test=True`` to the ``file.cached`` state module diff --git a/changelog/63810.fixed.md b/changelog/63810.fixed.md deleted file mode 100644 index 241907dbc00..00000000000 --- a/changelog/63810.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Updated `source_hash` documentation and added a log warning when `source_hash` is used with a source other than `http`, `https` and `ftp`. diff --git a/changelog/64081.fixed.md b/changelog/64081.fixed.md deleted file mode 100644 index ed0720ac9a3..00000000000 --- a/changelog/64081.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. diff --git a/changelog/64082.fixed.md b/changelog/64082.fixed.md deleted file mode 100644 index c5bbc5a0ccb..00000000000 --- a/changelog/64082.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix dmsetup device names with hyphen being picked up. diff --git a/changelog/64102.fixed.md b/changelog/64102.fixed.md deleted file mode 100644 index 09d14ab16cb..00000000000 --- a/changelog/64102.fixed.md +++ /dev/null @@ -1,3 +0,0 @@ -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. diff --git a/changelog/64103.fixed.md b/changelog/64103.fixed.md deleted file mode 100644 index 09d14ab16cb..00000000000 --- a/changelog/64103.fixed.md +++ /dev/null @@ -1,3 +0,0 @@ -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. diff --git a/changelog/64109.fixed.md b/changelog/64109.fixed.md deleted file mode 100644 index 59c884cb869..00000000000 --- a/changelog/64109.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` diff --git a/changelog/64111.fixed.md b/changelog/64111.fixed.md deleted file mode 100644 index a6c00a1b999..00000000000 --- a/changelog/64111.fixed.md +++ /dev/null @@ -1 +0,0 @@ -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. diff --git a/changelog/64113.fixed.md b/changelog/64113.fixed.md deleted file mode 100644 index b2a530eeb3d..00000000000 --- a/changelog/64113.fixed.md +++ /dev/null @@ -1,2 +0,0 @@ -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. diff --git a/changelog/64114.fixed.md b/changelog/64114.fixed.md deleted file mode 100644 index f01c5ea9127..00000000000 --- a/changelog/64114.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. diff --git a/changelog/64117.fixed.md b/changelog/64117.fixed.md deleted file mode 100644 index 0bca97e167d..00000000000 --- a/changelog/64117.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package diff --git a/changelog/64118.fixed.md b/changelog/64118.fixed.md deleted file mode 100644 index e7251827e97..00000000000 --- a/changelog/64118.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Stop passing `**kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` diff --git a/changelog/64126.fixed.md b/changelog/64126.fixed.md deleted file mode 100644 index fb6cf7c46b4..00000000000 --- a/changelog/64126.fixed.md +++ /dev/null @@ -1 +0,0 @@ -lgpo_reg.set_value now returns ``True`` on success instead of ``None`` diff --git a/changelog/64141.fixed.md b/changelog/64141.fixed.md deleted file mode 100644 index 62c3e8f90c1..00000000000 --- a/changelog/64141.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Make salt user's home /opt/saltstack/salt diff --git a/changelog/64150.fixed.md b/changelog/64150.fixed.md deleted file mode 100644 index a767e10bf8d..00000000000 --- a/changelog/64150.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix cmd.run doesn't output changes in test mode diff --git a/changelog/64158.fixed.md b/changelog/64158.fixed.md deleted file mode 100644 index e34fc72b4d8..00000000000 --- a/changelog/64158.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Move salt user and group creation to common package diff --git a/changelog/64170.fixed.md b/changelog/64170.fixed.md deleted file mode 100644 index 1d20355bf1e..00000000000 --- a/changelog/64170.fixed.md +++ /dev/null @@ -1,2 +0,0 @@ -Fixed issue in salt-cloud so that multiple masters specified in the cloud -are written to the minion config properly diff --git a/changelog/64184.fixed.md b/changelog/64184.fixed.md deleted file mode 100644 index c63583324e3..00000000000 --- a/changelog/64184.fixed.md +++ /dev/null @@ -1 +0,0 @@ - Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. diff --git a/changelog/64186.fixed.md b/changelog/64186.fixed.md deleted file mode 100644 index 64c2c27f8a7..00000000000 --- a/changelog/64186.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Stop using the deprecated `salt.transport.client` imports. diff --git a/changelog/64192.fixed.md b/changelog/64192.fixed.md deleted file mode 100644 index c0433045506..00000000000 --- a/changelog/64192.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. diff --git a/changelog/64200.fixed.md b/changelog/64200.fixed.md deleted file mode 100644 index 9c977309cb9..00000000000 --- a/changelog/64200.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix ``lgpo_reg`` state to work with User policy diff --git a/changelog/64204.fixed.md b/changelog/64204.fixed.md deleted file mode 100644 index bc979379c9d..00000000000 --- a/changelog/64204.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Cloud deployment directories are owned by salt user and group diff --git a/changelog/64222.fixed.md b/changelog/64222.fixed.md deleted file mode 100644 index ce7b5a54d8c..00000000000 --- a/changelog/64222.fixed.md +++ /dev/null @@ -1 +0,0 @@ -``lgpo_reg`` state now enforces and reports changes to the registry diff --git a/doc/man/salt-api.1 b/doc/man/salt-api.1 index 0935a743675..379d345536a 100644 --- a/doc/man/salt-api.1 +++ b/doc/man/salt-api.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-API" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-API" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-api \- salt-api Command .sp diff --git a/doc/man/salt-call.1 b/doc/man/salt-call.1 index f81101ae003..460cf91dddb 100644 --- a/doc/man/salt-call.1 +++ b/doc/man/salt-call.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-CALL" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-CALL" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-call \- salt-call Documentation .SH SYNOPSIS diff --git a/doc/man/salt-cloud.1 b/doc/man/salt-cloud.1 index c0bc776c4f1..2a75e218e04 100644 --- a/doc/man/salt-cloud.1 +++ b/doc/man/salt-cloud.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-CLOUD" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-CLOUD" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-cloud \- Salt Cloud Command .sp diff --git a/doc/man/salt-cp.1 b/doc/man/salt-cp.1 index c9cfd69ba8b..74ab95a2bcc 100644 --- a/doc/man/salt-cp.1 +++ b/doc/man/salt-cp.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-CP" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-CP" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-cp \- salt-cp Documentation .sp diff --git a/doc/man/salt-key.1 b/doc/man/salt-key.1 index 0ff7822c6f9..c4723cae0e0 100644 --- a/doc/man/salt-key.1 +++ b/doc/man/salt-key.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-KEY" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-KEY" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-key \- salt-key Documentation .SH SYNOPSIS diff --git a/doc/man/salt-master.1 b/doc/man/salt-master.1 index 8eb527cadf3..72fa39ba91d 100644 --- a/doc/man/salt-master.1 +++ b/doc/man/salt-master.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-MASTER" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-MASTER" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-master \- salt-master Documentation .sp diff --git a/doc/man/salt-minion.1 b/doc/man/salt-minion.1 index 32421a3f24f..fc550d0085f 100644 --- a/doc/man/salt-minion.1 +++ b/doc/man/salt-minion.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-MINION" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-MINION" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-minion \- salt-minion Documentation .sp diff --git a/doc/man/salt-proxy.1 b/doc/man/salt-proxy.1 index 57084cc6101..9a78879db3a 100644 --- a/doc/man/salt-proxy.1 +++ b/doc/man/salt-proxy.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-PROXY" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-PROXY" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-proxy \- salt-proxy Documentation .sp diff --git a/doc/man/salt-run.1 b/doc/man/salt-run.1 index 69b75f76854..d4fbc53dc98 100644 --- a/doc/man/salt-run.1 +++ b/doc/man/salt-run.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-RUN" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-RUN" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-run \- salt-run Documentation .sp diff --git a/doc/man/salt-ssh.1 b/doc/man/salt-ssh.1 index d3d9749f531..3519bb75e1f 100644 --- a/doc/man/salt-ssh.1 +++ b/doc/man/salt-ssh.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-SSH" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-SSH" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-ssh \- salt-ssh Documentation .SH SYNOPSIS diff --git a/doc/man/salt-syndic.1 b/doc/man/salt-syndic.1 index 9480755a145..3b50a769071 100644 --- a/doc/man/salt-syndic.1 +++ b/doc/man/salt-syndic.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT-SYNDIC" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT-SYNDIC" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt-syndic \- salt-syndic Documentation .sp diff --git a/doc/man/salt.1 b/doc/man/salt.1 index 0d522736c30..1c6873a02e1 100644 --- a/doc/man/salt.1 +++ b/doc/man/salt.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt \- salt .SH SYNOPSIS diff --git a/doc/man/salt.7 b/doc/man/salt.7 index 7a08e3aac1b..d50a2d55401 100644 --- a/doc/man/salt.7 +++ b/doc/man/salt.7 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SALT" "7" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SALT" "7" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME salt \- Salt Documentation .SH SALT PROJECT @@ -1346,7 +1346,7 @@ You can enable or disable test groups locally by passing their respected flag: \-\-flaky\-jail \- Test that need to be temporarily skipped. .UNINDENT .sp -In Your PR, you can enable or disable test groups by setting a label. +In your PR, you can enable or disable test groups by setting a label. All fast, slow, and core tests specified in the change file will always run. .INDENT 0.0 .IP \(bu 2 @@ -1380,7 +1380,7 @@ But that advice is backwards for the changelog. We follow the our changelog, and use towncrier to generate it for each release. As a contributor, all that means is that you need to add a file to the \fBsalt/changelog\fP directory, using the \fB.\fP format. For -instanch, if you fixed issue 123, you would do: +instance, if you fixed issue 123, you would do: .INDENT 0.0 .INDENT 3.5 .sp @@ -7377,6 +7377,7 @@ Default: \fB3600\fP If and only if a master has set \fBpillar_cache: True\fP, the cache TTL controls the amount of time, in seconds, before the cache is considered invalid by a master and a fresh pillar is recompiled and stored. +The cache TTL does not prevent pillar cache from being refreshed before its TTL expires. .SS \fBpillar_cache_backend\fP .sp New in version 2015.8.8. @@ -11635,10 +11636,7 @@ Changed in version 2018.3.0: Renamed from \fBenvironment\fP to \fBsaltenv\fP\&. ignored and \fBsaltenv\fP will be used. .sp -Normally the minion is not isolated to any single environment on the master -when running states, but the environment can be isolated on the minion side -by statically setting it. Remember that the recommended way to manage -environments is to isolate via the top file. +The default fileserver environment to use when copying files and applying states. .INDENT 0.0 .INDENT 3.5 .sp @@ -14934,6 +14932,7 @@ For reference, see: # If and only if a master has set \(ga\(gapillar_cache: True\(ga\(ga, the cache TTL controls the amount # of time, in seconds, before the cache is considered invalid by a master and a fresh # pillar is recompiled and stored. +# The cache TTL does not prevent pillar cache from being refreshed before its TTL expires. #pillar_cache_ttl: 3600 # If and only if a master has set \(gapillar_cache: True\(ga, one of several storage providers @@ -50676,7 +50675,7 @@ You can enable or disable test groups locally by passing there respected flag: \-\-flaky\-jail .UNINDENT .sp -In Your PR you can enable or disable test groups by setting a label. +In your PR you can enable or disable test groups by setting a label. All thought the fast, slow and core tests specified in the change file will always run. .INDENT 0.0 .IP \(bu 2 @@ -61394,7 +61393,7 @@ Add the following to \fB/srv/reactor/revert.sls\fP: .ft C revert\-file: local.state.apply: - \- tgt: {{ data[\(aqdata\(aq][\(aqid\(aq] }} + \- tgt: {{ data[\(aqid\(aq] }} \- arg: \- maintain_important_file .ft P @@ -61411,13 +61410,6 @@ to modify the watched file, it is important to ensure the state applied is also \fI\%idempotent\fP\&. .UNINDENT .UNINDENT -.sp -\fBNOTE:\fP -.INDENT 0.0 -.INDENT 3.5 -The expression \fB{{ data[\(aqdata\(aq][\(aqid\(aq] }}\fP \fI\%is correct\fP as it matches the event structure \fI\%shown above\fP\&. -.UNINDENT -.UNINDENT .SS State SLS .sp Create the state sls file referenced by the reactor sls file. This state file @@ -61838,6 +61830,14 @@ in \fI\%local reactions\fP, but as noted above this is not very user\-friendly. Therefore, the new config schema is recommended if the master is running a supported release. .sp +\fBNOTE:\fP +.INDENT 0.0 +.INDENT 3.5 +State ids of reactors for runners and wheels should all be unique. They can +overwrite each other when added to the async queue causing lost reactions. +.UNINDENT +.UNINDENT +.sp The below two examples are equivalent: .TS center; @@ -61909,6 +61909,14 @@ Like \fI\%runner reactions\fP, the old config schema called for wheel reactions to have arguments passed directly under the name of the \fI\%wheel function\fP (or in \fBarg\fP or \fBkwarg\fP parameters). .sp +\fBNOTE:\fP +.INDENT 0.0 +.INDENT 3.5 +State ids of reactors for runners and wheels should all be unique. They can +overwrite each other when added to the async queue causing lost reactions. +.UNINDENT +.UNINDENT +.sp The below two examples are equivalent: .TS center; @@ -193929,7 +193937,7 @@ Passes through all the parameters described in the \fI\%utils.http.query function\fP: .INDENT 7.0 .TP -.B salt.utils.http.query(url, method=\(aqGET\(aq, params=None, data=None, data_file=None, header_dict=None, header_list=None, header_file=None, username=None, password=None, auth=None, decode=False, decode_type=\(aqauto\(aq, status=False, headers=False, text=False, cookies=None, cookie_jar=None, cookie_format=\(aqlwp\(aq, persist_session=False, session_cookie_jar=None, data_render=False, data_renderer=None, header_render=False, header_renderer=None, template_dict=None, test=False, test_url=None, node=\(aqminion\(aq, port=80, opts=None, backend=None, ca_bundle=None, verify_ssl=None, cert=None, text_out=None, headers_out=None, decode_out=None, stream=False, streaming_callback=None, header_callback=None, handle=False, agent=\(aqSalt/3006.0\(aq, hide_fields=None, raise_error=True, formdata=False, formdata_fieldname=None, formdata_filename=None, decode_body=True, **kwargs) +.B salt.utils.http.query(url, method=\(aqGET\(aq, params=None, data=None, data_file=None, header_dict=None, header_list=None, header_file=None, username=None, password=None, auth=None, decode=False, decode_type=\(aqauto\(aq, status=False, headers=False, text=False, cookies=None, cookie_jar=None, cookie_format=\(aqlwp\(aq, persist_session=False, session_cookie_jar=None, data_render=False, data_renderer=None, header_render=False, header_renderer=None, template_dict=None, test=False, test_url=None, node=\(aqminion\(aq, port=80, opts=None, backend=None, ca_bundle=None, verify_ssl=None, cert=None, text_out=None, headers_out=None, decode_out=None, stream=False, streaming_callback=None, header_callback=None, handle=False, agent=\(aqSalt/3006.1\(aq, hide_fields=None, raise_error=True, formdata=False, formdata_fieldname=None, formdata_filename=None, decode_body=True, **kwargs) Query a resource, and decode the return data .UNINDENT .INDENT 7.0 @@ -280078,6 +280086,10 @@ proceess, as grains can affect which modules are available. .B refresh_pillar True Set to \fBFalse\fP to keep pillar data from being refreshed. +.TP +.B clean_pillar_cache +False +Set to \fBTrue\fP to refresh pillar cache. .UNINDENT .sp CLI Examples: @@ -280273,7 +280285,7 @@ salt \(aq*\(aq saltutil.signal_job 15 .UNINDENT .INDENT 0.0 .TP -.B salt.modules.saltutil.sync_all(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None) +.B salt.modules.saltutil.sync_all(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None, clean_pillar_cache=False) Changed in version 2015.8.11,2016.3.2: On masterless minions, pillar modules are now synced, and refreshed when \fBrefresh\fP is set to \fBTrue\fP\&. @@ -280323,6 +280335,10 @@ dictionary of modules to sync based on type .B extmod_blacklist None dictionary of modules to blacklist based on type +.TP +.B clean_pillar_cache +False +Set to \fBTrue\fP to refresh pillar cache. .UNINDENT .sp CLI Examples: @@ -280519,7 +280535,7 @@ salt \(aq*\(aq saltutil.sync_executors saltenv=base,dev .UNINDENT .INDENT 0.0 .TP -.B salt.modules.saltutil.sync_grains(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None) +.B salt.modules.saltutil.sync_grains(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None, clean_pillar_cache=False) New in version 0.10.0. .sp @@ -280547,6 +280563,10 @@ comma\-separated list of modules to sync .B extmod_blacklist None comma\-separated list of modules to blacklist based on type +.TP +.B clean_pillar_cache +False +Set to \fBTrue\fP to refresh pillar cache. .UNINDENT .sp CLI Examples: @@ -280815,7 +280835,7 @@ salt \(aq*\(aq saltutil.sync_output saltenv=base,dev .UNINDENT .INDENT 0.0 .TP -.B salt.modules.saltutil.sync_pillar(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None) +.B salt.modules.saltutil.sync_pillar(saltenv=None, refresh=True, extmod_whitelist=None, extmod_blacklist=None, clean_pillar_cache=False) New in version 2015.8.11,2016.3.2. .sp @@ -280837,6 +280857,10 @@ comma\-separated list of modules to sync .B extmod_blacklist None comma\-separated list of modules to blacklist based on type +.TP +.B clean_pillar_cache +False +Set to \fBTrue\fP to refresh pillar cache. .UNINDENT .sp \fBNOTE:\fP @@ -325208,6 +325232,14 @@ User .sp Default is \fBMachine\fP +.UNINDENT +.TP +.B Raises +.INDENT 7.0 +.IP \(bu 2 +\fI\%SaltInvocationError\fP \-\- Invalid policy_class +.IP \(bu 2 +\fI\%CommandExecutionError\fP \-\- On failure .UNINDENT .TP .B Returns @@ -325216,9 +325248,6 @@ None: Key/value not present .TP .B Return type \fI\%bool\fP -.TP -.B Raises -\fI\%SaltInvocationError\fP \-\- Invalid policy_class .UNINDENT .sp CLI Example: @@ -325264,6 +325293,14 @@ User .sp Default is \fBMachine\fP +.UNINDENT +.TP +.B Raises +.INDENT 7.0 +.IP \(bu 2 +\fI\%SaltInvocationError\fP \-\- Invalid policy_class +.IP \(bu 2 +\fI\%CommandExecutionError\fP \-\- On failure .UNINDENT .TP .B Returns @@ -325272,9 +325309,6 @@ None: If already disabled .TP .B Return type \fI\%bool\fP -.TP -.B Raises -\fI\%SaltInvocationError\fP \-\- Invalid policy_class .UNINDENT .sp CLI Example: @@ -325470,12 +325504,6 @@ Default is \fBMachine\fP .UNINDENT .TP -.B Returns -\fBTrue\fP if successful, otherwise \fBFalse\fP -.TP -.B Return type -\fI\%bool\fP -.TP .B Raises .INDENT 7.0 .IP \(bu 2 @@ -325485,6 +325513,12 @@ Default is \fBMachine\fP .IP \(bu 2 \fI\%SaltInvocationError\fP \-\- v_data doesn\(aqt match v_type .UNINDENT +.TP +.B Returns +\fBTrue\fP if successful, otherwise \fBFalse\fP +.TP +.B Return type +\fI\%bool\fP .UNINDENT .sp CLI Example: @@ -325533,10 +325567,18 @@ Default is \fBMachine\fP .UNINDENT .TP .B Raises +.INDENT 7.0 +.IP \(bu 2 \fI\%SaltInvocationError\fP \-\- Invalid policy class +.IP \(bu 2 +\fI\%CommandExecutionError\fP \-\- On failure +.UNINDENT .TP .B Returns -None +True if successful +.TP +.B Return type +\fI\%bool\fP .UNINDENT .sp CLI Example: @@ -412564,6 +412606,8 @@ tomdroid\-src\-0.7.3.tar.gz: .fi .UNINDENT .UNINDENT +.sp +source_hash is ignored if the file hosted is not on a HTTP, HTTPS or FTP server. .UNINDENT .UNINDENT .INDENT 7.0 @@ -444129,6 +444173,13 @@ If your service states are running into trouble with init system detection, please see the \fI\%Overriding Virtual Module Providers\fP section of Salt\(aqs module documentation to work around possible errors. .sp +For services managed by systemd, the systemd_service module includes a built\-in +feature to reload the daemon when unit files are changed or extended. This +feature is used automatically by the service state and the systemd_service +module when running on a systemd minion, so there is no need to set up your own +methods of reloading the daemon. If you need to manually reload the daemon for +some reason, you can use the \fI\%systemd_service.systemctl_reload\fP function provided by Salt. +.sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 @@ -466637,7 +466688,7 @@ You can enable or disable test groups locally by passing their respected flag: \-\-flaky\-jail \- Test that need to be temporarily skipped. .UNINDENT .sp -In Your PR, you can enable or disable test groups by setting a label. +In your PR, you can enable or disable test groups by setting a label. All fast, slow, and core tests specified in the change file will always run. .INDENT 0.0 .IP \(bu 2 @@ -466671,7 +466722,7 @@ But that advice is backwards for the changelog. We follow the our changelog, and use towncrier to generate it for each release. As a contributor, all that means is that you need to add a file to the \fBsalt/changelog\fP directory, using the \fB.\fP format. For -instanch, if you fixed issue 123, you would do: +instance, if you fixed issue 123, you would do: .INDENT 0.0 .INDENT 3.5 .sp @@ -476582,6 +476633,66 @@ Update to \fBmarkdown\-it\-py==2.2.0\fP due to: .UNINDENT .UNINDENT .UNINDENT +(release\-3006.1)= +.SS Salt 3006.1 release notes +.SS Changelog +.SS Fixed +.INDENT 0.0 +.IP \(bu 2 +Check that the return data from the cloud create function is a dictionary before attempting to pull values out. \fI\%#61236\fP +.IP \(bu 2 +Ensure NamedLoaderContext\(aqs have their value() used if passing to other modules \fI\%#62477\fP +.IP \(bu 2 +add documentation note about reactor state ids. \fI\%#63589\fP +.IP \(bu 2 +Added support for \fBtest=True\fP to the \fBfile.cached\fP state module \fI\%#63785\fP +.IP \(bu 2 +Updated \fBsource_hash\fP documentation and added a log warning when \fBsource_hash\fP is used with a source other than \fBhttp\fP, \fBhttps\fP and \fBftp\fP\&. \fI\%#63810\fP +.IP \(bu 2 +Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. \fI\%#64081\fP +.IP \(bu 2 +Fix dmsetup device names with hyphen being picked up. \fI\%#64082\fP +.IP \(bu 2 +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. \fI\%#64102\fP, \fI\%#64103\fP +.IP \(bu 2 +Default to a 0 timeout if none is given for the terraform roster to avoid \fB\-o ConnectTimeout=None\fP when using \fBsalt\-ssh\fP \fI\%#64109\fP +.IP \(bu 2 +Disable class level caching of the file client on \fBSaltCacheLoader\fP and properly use context managers to take care of initialization and termination of the file client. \fI\%#64111\fP +.IP \(bu 2 +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 \fB\&.destroy()\fP was called when using a context manager was not possible. \fI\%#64113\fP +.IP \(bu 2 +Fix running \fI\%setup.py\fP when passing in \-\-salt\-config\-dir and \-\-salt\-cache\-dir arguments. \fI\%#64114\fP +.IP \(bu 2 +Moved /etc/salt/proxy and /lib/systemd/system/salt\-proxy@.service to the salt\-minion DEB package \fI\%#64117\fP +.IP \(bu 2 +Stop passing \fB**kwargs\fP and be explicit about the keyword arguments to pass, namely, to \fBcp.cache_file\fP call in \fBsalt.states.pkg\fP \fI\%#64118\fP +.IP \(bu 2 +lgpo_reg.set_value now returns \fBTrue\fP on success instead of \fBNone\fP \fI\%#64126\fP +.IP \(bu 2 +Make salt user\(aqs home /opt/saltstack/salt \fI\%#64141\fP +.IP \(bu 2 +Fix cmd.run doesn\(aqt output changes in test mode \fI\%#64150\fP +.IP \(bu 2 +Move salt user and group creation to common package \fI\%#64158\fP +.IP \(bu 2 +Fixed issue in salt\-cloud so that multiple masters specified in the cloud +are written to the minion config properly \fI\%#64170\fP +.IP \(bu 2 +Make sure the \fBsalt\-ssh\fP CLI calls it\(aqs \fBfsclient.destroy()\fP method when done. \fI\%#64184\fP +.IP \(bu 2 +Stop using the deprecated \fBsalt.transport.client\fP imports. \fI\%#64186\fP +.IP \(bu 2 +Add a \fB\&.pth\fP to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. \fI\%#64192\fP +.IP \(bu 2 +Fix \fBlgpo_reg\fP state to work with User policy \fI\%#64200\fP +.IP \(bu 2 +Cloud deployment directories are owned by salt user and group \fI\%#64204\fP +.IP \(bu 2 +\fBlgpo_reg\fP state now enforces and reports changes to the registry \fI\%#64222\fP +.UNINDENT .sp See \fI\%Install a release candidate\fP for more information about installing an RC when one is available. diff --git a/doc/man/spm.1 b/doc/man/spm.1 index b680a20ddab..90cc6e3d2d7 100644 --- a/doc/man/spm.1 +++ b/doc/man/spm.1 @@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "SPM" "1" "Generated on April 18, 2023 at 08:56:37 PM UTC." "3006.0" "Salt" +.TH "SPM" "1" "Generated on May 05, 2023 at 05:45:04 PM UTC." "3006.1" "Salt" .SH NAME spm \- Salt Package Manager Command .sp diff --git a/doc/topics/releases/3006.1.md b/doc/topics/releases/3006.1.md new file mode 100644 index 00000000000..2bf2dea1d31 --- /dev/null +++ b/doc/topics/releases/3006.1.md @@ -0,0 +1,52 @@ +(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](https://github.com/saltstack/salt/issues/61236) +- Ensure NamedLoaderContext's have their value() used if passing to other modules [#62477](https://github.com/saltstack/salt/issues/62477) +- add documentation note about reactor state ids. [#63589](https://github.com/saltstack/salt/issues/63589) +- Added support for ``test=True`` to the ``file.cached`` state module [#63785](https://github.com/saltstack/salt/issues/63785) +- Updated `source_hash` documentation and added a log warning when `source_hash` is used with a source other than `http`, `https` and `ftp`. [#63810](https://github.com/saltstack/salt/issues/63810) +- Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. [#64081](https://github.com/saltstack/salt/issues/64081) +- Fix dmsetup device names with hyphen being picked up. [#64082](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64102), [#64103](https://github.com/saltstack/salt/issues/64103) +- Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` [#64109](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64113) +- Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. [#64114](https://github.com/saltstack/salt/issues/64114) +- Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package [#64117](https://github.com/saltstack/salt/issues/64117) +- Stop passing `**kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` [#64118](https://github.com/saltstack/salt/issues/64118) +- lgpo_reg.set_value now returns ``True`` on success instead of ``None`` [#64126](https://github.com/saltstack/salt/issues/64126) +- Make salt user's home /opt/saltstack/salt [#64141](https://github.com/saltstack/salt/issues/64141) +- Fix cmd.run doesn't output changes in test mode [#64150](https://github.com/saltstack/salt/issues/64150) +- Move salt user and group creation to common package [#64158](https://github.com/saltstack/salt/issues/64158) +- Fixed issue in salt-cloud so that multiple masters specified in the cloud + are written to the minion config properly [#64170](https://github.com/saltstack/salt/issues/64170) +- Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. [#64184](https://github.com/saltstack/salt/issues/64184) +- Stop using the deprecated `salt.transport.client` imports. [#64186](https://github.com/saltstack/salt/issues/64186) +- Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. [#64192](https://github.com/saltstack/salt/issues/64192) +- Fix ``lgpo_reg`` state to work with User policy [#64200](https://github.com/saltstack/salt/issues/64200) +- Cloud deployment directories are owned by salt user and group [#64204](https://github.com/saltstack/salt/issues/64204) +- ``lgpo_reg`` state now enforces and reports changes to the registry [#64222](https://github.com/saltstack/salt/issues/64222) diff --git a/pkg/debian/changelog b/pkg/debian/changelog index b014ff40a01..035085104b3 100644 --- a/pkg/debian/changelog +++ b/pkg/debian/changelog @@ -1,3 +1,41 @@ +salt (3006.1) stable; urgency=medium + + + # Fixed + + * Check that the return data from the cloud create function is a dictionary before attempting to pull values out. [#61236](https://github.com/saltstack/salt/issues/61236) + * Ensure NamedLoaderContext's have their value() used if passing to other modules [#62477](https://github.com/saltstack/salt/issues/62477) + * add documentation note about reactor state ids. [#63589](https://github.com/saltstack/salt/issues/63589) + * Added support for ``test=True`` to the ``file.cached`` state module [#63785](https://github.com/saltstack/salt/issues/63785) + * Updated `source_hash` documentation and added a log warning when `source_hash` is used with a source other than `http`, `https` and `ftp`. [#63810](https://github.com/saltstack/salt/issues/63810) + * Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. [#64081](https://github.com/saltstack/salt/issues/64081) + * Fix dmsetup device names with hyphen being picked up. [#64082](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64102), [#64103](https://github.com/saltstack/salt/issues/64103) + * Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` [#64109](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64113) + * Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. [#64114](https://github.com/saltstack/salt/issues/64114) + * Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package [#64117](https://github.com/saltstack/salt/issues/64117) + * Stop passing `**kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` [#64118](https://github.com/saltstack/salt/issues/64118) + * lgpo_reg.set_value now returns ``True`` on success instead of ``None`` [#64126](https://github.com/saltstack/salt/issues/64126) + * Make salt user's home /opt/saltstack/salt [#64141](https://github.com/saltstack/salt/issues/64141) + * Fix cmd.run doesn't output changes in test mode [#64150](https://github.com/saltstack/salt/issues/64150) + * Move salt user and group creation to common package [#64158](https://github.com/saltstack/salt/issues/64158) + * Fixed issue in salt-cloud so that multiple masters specified in the cloud + are written to the minion config properly [#64170](https://github.com/saltstack/salt/issues/64170) + * Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. [#64184](https://github.com/saltstack/salt/issues/64184) + * Stop using the deprecated `salt.transport.client` imports. [#64186](https://github.com/saltstack/salt/issues/64186) + * Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. [#64192](https://github.com/saltstack/salt/issues/64192) + * Fix ``lgpo_reg`` state to work with User policy [#64200](https://github.com/saltstack/salt/issues/64200) + * Cloud deployment directories are owned by salt user and group [#64204](https://github.com/saltstack/salt/issues/64204) + * ``lgpo_reg`` state now enforces and reports changes to the registry [#64222](https://github.com/saltstack/salt/issues/64222) + + + -- Salt Project Packaging Fri, 05 May 2023 17:44:35 +0000 + salt (3006.0) stable; urgency=medium diff --git a/pkg/rpm/salt.spec b/pkg/rpm/salt.spec index 3cf777f20bc..75b186f1cc1 100644 --- a/pkg/rpm/salt.spec +++ b/pkg/rpm/salt.spec @@ -25,7 +25,7 @@ %define fish_dir %{_datadir}/fish/vendor_functions.d Name: salt -Version: 3006.0 +Version: 3006.1 Release: 0 Summary: A parallel remote execution system Group: System Environment/Daemons @@ -496,6 +496,41 @@ fi %changelog +* Fri May 05 2023 Salt Project Packaging - 3006.1 + +# Fixed + +- Check that the return data from the cloud create function is a dictionary before attempting to pull values out. [#61236](https://github.com/saltstack/salt/issues/61236) +- Ensure NamedLoaderContext's have their value() used if passing to other modules [#62477](https://github.com/saltstack/salt/issues/62477) +- add documentation note about reactor state ids. [#63589](https://github.com/saltstack/salt/issues/63589) +- Added support for ``test=True`` to the ``file.cached`` state module [#63785](https://github.com/saltstack/salt/issues/63785) +- Updated `source_hash` documentation and added a log warning when `source_hash` is used with a source other than `http`, `https` and `ftp`. [#63810](https://github.com/saltstack/salt/issues/63810) +- Fixed clear pillar cache on every highstate and added clean_pillar_cache=False to saltutil functions. [#64081](https://github.com/saltstack/salt/issues/64081) +- Fix dmsetup device names with hyphen being picked up. [#64082](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64102), [#64103](https://github.com/saltstack/salt/issues/64103) +- Default to a 0 timeout if none is given for the terraform roster to avoid `-o ConnectTimeout=None` when using `salt-ssh` [#64109](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/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](https://github.com/saltstack/salt/issues/64113) +- Fix running setup.py when passing in --salt-config-dir and --salt-cache-dir arguments. [#64114](https://github.com/saltstack/salt/issues/64114) +- Moved /etc/salt/proxy and /lib/systemd/system/salt-proxy@.service to the salt-minion DEB package [#64117](https://github.com/saltstack/salt/issues/64117) +- Stop passing `**kwargs` and be explicit about the keyword arguments to pass, namely, to `cp.cache_file` call in `salt.states.pkg` [#64118](https://github.com/saltstack/salt/issues/64118) +- lgpo_reg.set_value now returns ``True`` on success instead of ``None`` [#64126](https://github.com/saltstack/salt/issues/64126) +- Make salt user's home /opt/saltstack/salt [#64141](https://github.com/saltstack/salt/issues/64141) +- Fix cmd.run doesn't output changes in test mode [#64150](https://github.com/saltstack/salt/issues/64150) +- Move salt user and group creation to common package [#64158](https://github.com/saltstack/salt/issues/64158) +- Fixed issue in salt-cloud so that multiple masters specified in the cloud + are written to the minion config properly [#64170](https://github.com/saltstack/salt/issues/64170) +- Make sure the `salt-ssh` CLI calls it's `fsclient.destroy()` method when done. [#64184](https://github.com/saltstack/salt/issues/64184) +- Stop using the deprecated `salt.transport.client` imports. [#64186](https://github.com/saltstack/salt/issues/64186) +- Add a `.pth` to the Salt onedir env to ensure packages in extras are importable. Bump relenv to 0.12.3. [#64192](https://github.com/saltstack/salt/issues/64192) +- Fix ``lgpo_reg`` state to work with User policy [#64200](https://github.com/saltstack/salt/issues/64200) +- Cloud deployment directories are owned by salt user and group [#64204](https://github.com/saltstack/salt/issues/64204) +- ``lgpo_reg`` state now enforces and reports changes to the registry [#64222](https://github.com/saltstack/salt/issues/64222) + + * Tue Apr 18 2023 Salt Project Packaging - 3006.0 # Removed