Installer support for OS X.
Installer is the native .pkg/.mpkg package manager for OS X.
salt.modules.darwin_pkgutil.
install
(source, package_id=None)¶Install a .pkg from an URI or an absolute path.
CLI Example:
salt '*' darwin_pkgutil.install source=/vagrant/build_essentials.pkg package_id=com.apple.pkg.gcc4.2Leo
salt.modules.darwin_pkgutil.
is_installed
(package_id)¶Returns whether a given package id is installed.
CLI Example:
salt '*' darwin_pkgutil.is_installed com.apple.pkg.gcc4.2Leo
salt.modules.darwin_pkgutil.
list
()¶List the installed packages.
CLI Example:
salt '*' darwin_pkgutil.list
netapi
modules