Support for Alternatives system
codeauthor: | Radek Rada <radek.rada@gmail.com> |
---|---|
copyright: | © 2012 by the SaltStack Team, see AUTHORS for more details. |
license: | Apache 2.0, see LICENSE for more details. |
Check if the alternatives link is set to desired path.
CLI Example:
salt '*' alternatives.check_installed name path
Display alternatives settings for defined command name.
CLI Example:
salt '*' alternatives.display <command name>
Install symbolic links determining default commands.
CLI Example:
salt '*' alternatives.install name link path priority
Remove symbolic links determining the default commands.
CLI Example:
salt '*' alternatives.remove name path
Display the current alternatives for the given name
CLI Example:
salt '*' alternatives.show_current emacs