New in version 2015.8.0.
salt.modules.cabal.
install
(pkg=None, pkgs=None, user=None, install_global=False, env=None)¶Install a cabal package.
A package name in format accepted by cabal-install. See: https://wiki.haskell.org/Cabal-Install
A list of packages names in same format as pkg
The user to run cabal install with
Install package globally instead of locally
Environment variables to set when invoking cabal. Uses the
same env
format as the cmd.run
execution function
CLI Example:
salt '*' cabal.install shellcheck
salt '*' cabal.install shellcheck-0.3.5
salt.modules.cabal.
list_
(pkg=None, user=None, installed=False, env=None)¶List packages matching a search string.
Search string for matching package names
The user to run cabal list with
If True, only return installed packages.
Environment variables to set when invoking cabal. Uses the
same env
format as the cmd.run
execution function
CLI example:
salt '*' cabal.list
salt '*' cabal.list ShellCheck
salt.modules.cabal.
uninstall
(pkg, user=None, env=None)¶Uninstall a cabal package.
The package to uninstall
The user to run ghc-pkg unregister with
Environment variables to set when invoking cabal. Uses the
same env
format as the cmd.run
execution function
CLI Example:
salt '*' cabal.uninstall ShellCheck
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy