New in version 2015.8.0.
These states manage the installed packages for Haskell using
cabal. Note that cabal-install must be installed for these states to
be available, so cabal states should include a requisite to a
pkg.installed state for the package which provides cabal
(cabal-install
in case of Debian based distributions). Example:
.. code-block:: yaml
- cabal-install:
pkg.installed
- ShellCheck:
- cabal.installed:
require: - pkg: cabal-install
Verify that the given package is installed and is at the correct version (if specified).
ShellCheck-0.3.5:
cabal:
- installed:
The package to install
The user to run cabal install with
Install package globally instead of locally
A list of environment variables to be set prior to execution. The
format is the same as the cmd.run
.
state function.
Verify that given package is not installed.
Generated on May 22, 2024 at 17:25:40 UTC.
You are viewing docs for the latest stable release, 3007.1. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy