A dead simple module wrapping calls to the Chocolatey package manager (http://chocolatey.org)
New in version 2014.1.0: (Hydrogen)
Download and install the latest version of the Chocolatey package manager via the official bootstrap.
Chocolatey requires Windows PowerShell and the .NET v4.0 runtime. Depending on the host's version of Windows, chocolatey.bootstrap will attempt to ensure these prerequisites are met by downloading and executing the appropriate installers from Microsoft.
Note that if PowerShell is installed, you may have to restart the host machine for Chocolatey to work.
salt '*' chocolatey.bootstrap
salt '*' chocolatey.bootstrap force=True
Instructs Chocolatey to install a package.
CLI Example:
salt '*' chocolatey.install <package name>
salt '*' chocolatey.install <package name> version=<package version>
Instructs Chocolatey to install a package via Cygwin.
CLI Example:
salt '*' chocolatey.install_cygwin <package name>
Instructs Chocolatey to install a package via Ruby's Gems.
CLI Example:
salt '*' chocolatey.install_gem <package name>
salt '*' chocolatey.install_gem <package name> version=<package version>
Instructs Chocolatey to install a package if it doesn't already exist.
CLI Example:
salt '*' chocolatey.install_missing <package name>
salt '*' chocolatey.install_missing <package name> version=<package version>
Instructs Chocolatey to install a package via Python's easy_install.
CLI Example:
salt '*' chocolatey.install_python <package name>
salt '*' chocolatey.install_python <package name> version=<package version>
Instructs Chocolatey to install a package via the Microsoft Web PI service.
CLI Example:
salt '*' chocolatey.install_webpi <package name>
Instructs Chocolatey to install a Windows Feature via the Deployment Image Servicing and Management tool.
CLI Example:
salt '*' chocolatey.install_windowsfeatures <package name>
Instructs Chocolatey to pull a vague package list from the repository.
CLI Example:
salt '*' chocolatey.list <filter>
salt '*' chocolatey.list <filter> all_versions=True
Instructs Chocolatey to pull a full package list from the Microsoft Web PI repository.
CLI Example:
salt '*' chocolatey.list_webpi
Instructs Chocolatey to pull a full package list from the Windows Features list, via the Deployment Image Servicing and Management tool.
CLI Example:
salt '*' chocolatey.list_windowsfeatures
Instructs Chocolatey to uninstall a package.
CLI Example:
salt '*' chocolatey.uninstall <package name>
salt '*' chocolatey.uninstall <package name> version=<package version>
Instructs Chocolatey to update packages on the system.
CLI Example:
salt "*" chocolatey.update all
salt "*" chocolatey.update <package name> pre_versions=True
Instructs Chocolatey to check an installed package version, and optionally compare it to one available from a remote feed.
CLI Example:
salt "*" chocolatey.version <package name>
salt "*" chocolatey.version <package name> check_remote=True
Current Salt release: 2014.1.0
Docs for previous releases on salt.rtfd.org.