Fix link to module zypperpkg in docs

Also change a few instances of the free standing name of yumpkg to yum
and aptpkg to apt, only the module has the postfix, not the package
manager.
This commit is contained in:
Jan Zerebecki 2021-08-13 16:05:42 +02:00 committed by Gareth J. Greenaway
parent fa2855abfe
commit 5515989e84
2 changed files with 10 additions and 10 deletions

View file

@ -1046,8 +1046,8 @@ def installed(
:mod:`pacman <salt.modules.pacman>`,
:mod:`pkgin <salt.modules.pkgin>`,
:mod:`win_pkg <salt.modules.win_pkg>`,
:mod:`yumpkg <salt.modules.yumpkg>`, and
:mod:`zypper <salt.modules.zypper>`. The version number includes the
:mod:`yum <salt.modules.yumpkg>`, and
:mod:`zypper <salt.modules.zypperpkg>`. The version number includes the
release designation where applicable, to allow Salt to target a
specific release of a given version. When in doubt, using the
``pkg.latest_version`` function for an uninstalled package will tell
@ -1286,7 +1286,7 @@ def installed(
reinstall. Types to ignore can be passed to pkg.verify. Additionally,
``verify_options`` can be used to modify further the behavior of
pkg.verify. See examples below. Currently, this option is supported
for the following pkg providers: :mod:`yumpkg <salt.modules.yumpkg>`.
for the following pkg providers: :mod:`yum <salt.modules.yumpkg>`.
Examples:
@ -1391,8 +1391,8 @@ def installed(
:mod:`ebuild <salt.modules.ebuild>`,
:mod:`pacman <salt.modules.pacman>`,
:mod:`winrepo <salt.modules.win_pkg>`,
:mod:`yumpkg <salt.modules.yumpkg>`, and
:mod:`zypper <salt.modules.zypper>`,
:mod:`yum <salt.modules.yumpkg>`, and
:mod:`zypper <salt.modules.zypperpkg>`,
version numbers can be specified
in the ``pkgs`` argument. For example:
@ -1406,7 +1406,7 @@ def installed(
- baz
Additionally, :mod:`ebuild <salt.modules.ebuild>`, :mod:`pacman
<salt.modules.pacman>`, :mod:`zypper <salt.modules.zypper>`,
<salt.modules.pacman>`, :mod:`zypper <salt.modules.zypperpkg>`,
:mod:`yum/dnf <salt.modules.yumpkg>`, and :mod:`apt
<salt.modules.aptpkg>` support the ``<``, ``<=``, ``>=``, and ``>``
operators for more control over what versions will be installed. For
@ -2173,7 +2173,7 @@ def downloaded(
is not defined for that function, will be silently ignored.
Currently supported for the following pkg providers:
:mod:`yumpkg <salt.modules.yumpkg>`, :mod:`zypper <salt.modules.zypper>` and :mod:`zypper <salt.modules.aptpkg>`
:mod:`yum <salt.modules.yumpkg>`, :mod:`zypper <salt.modules.zypperpkg>` and :mod:`apt <salt.modules.aptpkg>`
:param str name:
The name of the package to be downloaded. This parameter is ignored if
@ -2333,7 +2333,7 @@ def patch_installed(name, advisory_ids=None, downloadonly=None, **kwargs):
is not defined for that function, will be silently ignored.
Currently supported for the following pkg providers:
:mod:`yumpkg <salt.modules.yumpkg>` and :mod:`zypper <salt.modules.zypper>`
:mod:`yum <salt.modules.yumpkg>` and :mod:`zypper <salt.modules.zypperpkg>`
CLI Example:
@ -2416,7 +2416,7 @@ def patch_downloaded(name, advisory_ids=None, **kwargs):
Ensure that packages related to certain advisory ids are downloaded.
Currently supported for the following pkg providers:
:mod:`yumpkg <salt.modules.yumpkg>` and :mod:`zypper <salt.modules.zypper>`
:mod:`yum <salt.modules.yumpkg>` and :mod:`zypper <salt.modules.zypperpkg>`
CLI Example:

View file

@ -140,7 +140,7 @@ def managed(name, ppa=None, copr=None, aptkey=True, **kwargs):
"""
This state manages software package repositories. Currently, :mod:`yum
<salt.modules.yumpkg>`, :mod:`apt <salt.modules.aptpkg>`, and :mod:`zypper
<salt.modules.zypper>` repositories are supported.
<salt.modules.zypperpkg>` repositories are supported.
**YUM/DNF/ZYPPER-BASED SYSTEMS**