2015.8.0 新版功能.
salt.modules.cabal.
install
(pkg=None, pkgs=None, user=None, install_global=False, env=None)¶Install a cabal package.
pkg
env
format as the cmd.run
execution functionCLI 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.
env
format as the cmd.run
execution functionCLI example:
salt '*' cabal.list
salt '*' cabal.list ShellCheck
salt.modules.cabal.
uninstall
(pkg, user=None, env=None)¶Uninstall a cabal package.
env
format as the cmd.run
execution functionsalt.modules.cabal.
update
(user=None, env=None)¶Updates list of known packages.