mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Clarify pkg.list_repo_pkgs docstring for held packages (#34188)
This commit is contained in:
parent
5bca5c42f1
commit
5d3ec31564
1 changed files with 5 additions and 1 deletions
|
@ -727,7 +727,11 @@ def list_repo_pkgs(*args, **kwargs):
|
|||
.. versionchanged:: 2014.7.0
|
||||
All available versions of each package are now returned. This required
|
||||
a slight modification to the structure of the return dict. The return
|
||||
data shown below reflects the updated return dict structure.
|
||||
data shown below reflects the updated return dict structure. Note that
|
||||
packages which are version-locked using :py:mod:`pkg.hold
|
||||
<salt.modules.yumpkg.hold>` will only show the currently-installed
|
||||
version, as locking a package will make other versions appear
|
||||
unavailable to yum/dnf.
|
||||
|
||||
Returns all available packages. Optionally, package names (and name globs)
|
||||
can be passed and the results will be filtered to packages matching those
|
||||
|
|
Loading…
Add table
Reference in a new issue