Add pkg state doc for zypper hold support

This commit is contained in:
Ken Crowell 2020-10-24 18:23:38 -03:00 committed by Daniel Wozniak
parent e71d7c341c
commit 3059796b48

View file

@ -1477,10 +1477,15 @@ def installed(
:param bool hold:
Force the package to be held at the current installed version.
Currently works with YUM/DNF & APT based systems.
Supported on YUM/DNF & APT based systems.
.. versionadded:: 2014.7.0
Supported on Zypper-based systems.
.. versionadded:: 3003
:param bool update_holds:
If ``True``, and this function would update the package version, any
packages which are being held will be temporarily unheld so that they
@ -1488,10 +1493,14 @@ def installed(
package, the held package(s) will be skipped and the state will fail.
By default, this parameter is set to ``False``.
Currently works with YUM/DNF & APT based systems.
Supported on YUM/DNF & APT based systems.
.. versionadded:: 2016.11.0
Supported on Zypper-based systems.
.. versionadded:: 3003
:param list names:
A list of packages to install from a software repository. Each package
will be installed individually by the package manager.