mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add pkg state doc for zypper hold support
This commit is contained in:
parent
e71d7c341c
commit
3059796b48
1 changed files with 11 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue