Support for eselect, Gentoo's configuration and management tool.
Execute an arbitrary action on a module.
CLI Example (updating the php
implementation used for apache2
):
salt '*' eselect.exec_action php update action_parameter='apache2'
Get the currently selected target for the given module.
CLI Example (current target of system-wide java-vm
):
salt '*' eselect.get_current_target java-vm action_parameter='system'
CLI Example (current target of kernel
symlink):
salt '*' eselect.get_current_target kernel
List available eselect
modules.
CLI Example:
salt '*' eselect.get_modules
List available targets for the given module.
additional params passed to the defined action
New in version 2016.11.0.
CLI Example:
salt '*' eselect.get_target_list kernel
Set the target for the given module. Target can be specified by index or name.
CLI Example (setting target of system-wide java-vm
):
salt '*' eselect.set_target java-vm icedtea-bin-7 action_parameter='system'
CLI Example (setting target of kernel
symlink):
salt '*' eselect.set_target kernel linux-3.17.5-gentoo
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.eselect.html