cdist/cdist/conf/type/__update_alternatives/man.rst

49 lines
1015 B
ReStructuredText

cdist-type__update_alternatives(7)
==================================
NAME
----
cdist-type__update_alternatives - Configure alternatives
DESCRIPTION
-----------
On Debian and alike systems update-alternatives(1) can be used
to setup alternatives for various programs.
One of the most common used targets is the "editor".
REQUIRED PARAMETERS
-------------------
path
Use this path for the given alternative
EXAMPLES
--------
.. code-block:: sh
# Setup vim as the default editor
__update_alternatives editor --path /usr/bin/vim.basic
SEE ALSO
--------
`cdist-type__debconf_set_selections(7) <cdist-type__debconf_set_selections.html>`_,
update-alternatives(8)
Full documentation at: <:cdist_docs:`index`>,
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
AUTHORS
-------
Nico Schottelius <nico-cdist--@--schottelius.org>
COPYING
-------
Copyright \(C) 2013 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).