Support for pkgng
Install a package from either a local source or remote one
Audits installed packages against known vulnerabilities
The available version of the package in the repository
Export installed packages into yaml+mtree file
Compare two version strings. Return -1 if version1 < version2, 0 if version1 == version2, and 1 if version1 > version2. Return None if there was a problem making the comparison.
CLI Example:
salt '*' pkg.compare '0.2.4-0' '0.2.4.1-0'
Delete a package from the database and system
Returns info on packages installed on system
salt '*' pkgng.info
For individual info
salt '*' pkgng.info sudo
Install package from repositories
Return dict of uncommented global variables.
CLI Example:
salt '*' pkgng.parse_config
*NOTE* not working right
Reads archive created by pkg backup -d and recreates the database.
Return pkgng stats.
Refresh PACKAGESITE contents
Updates remote package repo url, PACKAGESITE var to be exact.
Must be using http://, ftp://, or https// protos
Upgrade all packages
Displays the current version of pkg