salt/doc/topics/releases/2017.7.3.rst
Benjamin Drung ae899aee64 Fix various spelling mistakes in release notes
There are various spelling mistakes in the git commit messages in the
release notes.

Fix those spelling mistakes. Since each commit is either referenced by
the commit has or pull request, fixing those spelling mistakes has no
negative effect on finding those commit.

Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
2022-03-16 16:45:52 -04:00

201 KiB

Salt 2017.7.3 Release Notes

Version 2017.7.3 is a bugfix release for 2017.7.0 <release-2017-7-0>.

Statistics

Windows Changes

pkg <salt.modules.win_pkg> Execution Module`

Significate changes (PR #43708 & #45390, damon-atkins) have been made to the pkg execution module. Users should test this release against their existing package sls definition files.

  • pkg.list_available <salt.modules.win_pkg.list_available> no longer defaults to refreshing the winrepo meta database.
  • pkg.install <salt.modules.win_pkg.install> without a version parameter no longer upgrades software if the software is already installed. Use pkg.install version=latest (or simply use a pkg.latest <salt.states.pkg.latest> state to get the old behavior.
  • pkg.list_pkgs <salt.modules.win_pkg.list_pkgs> now returns multiple versions if software installed more than once.
  • pkg.list_pkgs <salt.modules.win_pkg.list_pkgs> now returns Not Found when the version is not found instead of (value not set) which matches the contents of the sls definitions.
  • pkg.remove <salt.modules.win_pkg.remove> will wait up to 3 seconds (normally about a second) to detect changes in the registry after removing software, improving reporting of version changes.
  • pkg.remove <salt.modules.win_pkg.remove> can remove latest software, if latest is defined in sls definition.
  • Documentation was update for the execution module to match the style in new versions, some corrections as well.
  • All install/remove commands are prefix with cmd.exe shell and cmdmod is called with a command line string instead of a list. Some sls files in saltstack/salt-winrepo-ng expected the commands to be prefixed with cmd.exe (i.e. the use of &).
  • Some execution module functions results, now behave more like their Unix/Linux versions.

cmd <salt.modules.cmdmod> Execution Module

Due to a difference in how Python's subprocess.Popen() spawns processes on Windows, passing the command as a list of arguments can result in problems. This is because Windows' CreateProcess requires the command to be passed as a single string. Therefore, subprocess will attempt to re-assemble the list of arguments into as string. Some escaped characters and quotes can cause the resulting string to be incorrectly-assembled, resulting in a failure to execute the command.

Salt now deals with these cases by joining the list of arguments correctly and ensuring that the command is passed to subprocess.Popen() as a string.

Changelog for v2017.7.2..v2017.7.3

Generated at: 2018-05-26 21:36:50 UTC