Package support for the REST example
salt.modules.rest_pkg.
install
(name=None, refresh=False, fromrepo=None, pkgs=None, sources=None, **kwargs)¶salt.modules.rest_pkg.
installed
(name, version=None, refresh=False, fromrepo=None, skip_verify=False, pkgs=None, sources=None, **kwargs)¶salt.modules.rest_pkg.
list_pkgs
(versions_as_list=False, **kwargs)¶salt.modules.rest_pkg.
remove
(name=None, pkgs=None, **kwargs)¶salt.modules.rest_pkg.
upgrade
(refresh=True, skip_verify=True, **kwargs)¶salt.modules.rest_pkg.
version
(*names, **kwargs)¶Returns a string representing the package version or an empty string if not installed. If more than one package name is specified, a dict of name/version pairs is returned.
CLI Example:
salt '*' pkg.version <package name>
salt '*' pkg.version <package1> <package2> <package3> ...
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy