Skip to content

Commit

Permalink
Add doc strings to yumpkg.install and yumpkg.remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Zhestkov authored and Victor Zhestkov committed Oct 14, 2022
1 parent 7e2e1d0 commit c73620f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions salt/modules/yumpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,12 @@ def install(
.. versionadded:: 2014.7.0
split_arch : True
If set to False it prevents package name normalization more strict way
than ``normalize`` set to ``False`` does.
.. versionadded:: 3006
diff_attr:
If a list of package attributes is specified, returned value will
contain them, eg.::
Expand Down Expand Up @@ -2122,6 +2128,11 @@ def remove(name=None, pkgs=None, **kwargs): # pylint: disable=W0613
.. versionadded:: 0.16.0
split_arch : True
If set to False it prevents package name normalization by removing arch.
.. versionadded:: 3006
Returns a dict containing the changes.
Expand Down

0 comments on commit c73620f

Please sign in to comment.