Package support for the dummy proxy used by the test suite
salt.modules.dummyproxy_package.
install
(name=None, refresh=False, fromrepo=None, pkgs=None, sources=None, **kwargs)¶salt.modules.dummyproxy_package.
installed
(name, version=None, refresh=False, fromrepo=None, skip_verify=False, pkgs=None, sources=None, **kwargs)¶salt.modules.dummyproxy_package.
list_pkgs
(versions_as_list=False, **kwargs)¶salt.modules.dummyproxy_package.
remove
(name=None, pkgs=None, **kwargs)¶salt.modules.dummyproxy_package.
upgrade
(name=None, pkgs=None, refresh=True, skip_verify=True, normalize=True, **kwargs)¶salt.modules.dummyproxy_package.
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 February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy