Package support for the REST example
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 September 18, 2025 at 19:37:48 UTC.
You are viewing docs for the previous stable release, 3006.16. Switch to docs for the latest stable release, 3007.8, or to a recent doc build from the master branch.
© 2025 VMware, Inc. | Privacy Policy