Skip to content

Commit

Permalink
Clarify pkg.list_repo_pkgs docstring for held packages (#34188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Johnson authored and Nicole Thomas committed Jun 22, 2016
1 parent 5bca5c4 commit 5d3ec31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion salt/modules/yumpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d3ec31

Please sign in to comment.