1CDIST-TYPE__SENSIBLE_EDITOR(7)       cdist      CDIST-TYPE__SENSIBLE_EDITOR(7)
2
3
4

NAME

6       cdist-type__sensible_editor - Select the sensible-editor
7

DESCRIPTION

9       This  cdist  type  allows you to select the sensible-editor for a given
10       user.
11

REQUIRED PARAMETERS

13       editor Name or path of the editor to be  selected.   On  systems  other
14              than Debian derivatives an absolute path is required.
15                 It  is  permissible  to omit this parameter if --state is ab‐
16                 sent.
17

OPTIONAL PARAMETERS

19       state  'present', 'absent', or 'exists'. Defaults to 'present', where:
20
21              present
22                     the sensible-editor is exactly what is specified in --ed‐
23                     itor.
24
25              absent no sensible-editor configuration is present.
26
27              exists the  sensible-editor  will be set to what is specified in
28                     --editor, unless there already is a configuration on  the
29                     target system.
30

EXAMPLES

32          __sensible_editor root --editor /bin/ed  # ed(1) is the standard
33          __sensible_editor noob --editor nano
34

LIMITATIONS

36       This  type  depends upon the sensible-editor(1) script which is part of
37       the sensible-utils package.
38
39       Therefore, the following operating systems are supported:
40
41              • Debian 8 (jessie) or later
42
43              • Devuan
44
45              • Ubuntu 8.10 (intrepid) or later
46
47              • RHEL/CentOS 7 or later (EPEL repo required)
48
49              • Fedora 21 or later
50
51       Note: on old versions of Ubuntu the sensible-* utils are  part  of  the
52       debianutils package.
53

SEE ALSO

55       select-editor(1), sensible-editor(1).
56

AUTHOR

58       Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
59

COPYING

61       Copyright  (C) 2019 Dennis Camera.  You can redistribute it and/or mod‐
62       ify it under the terms of the GNU General Public License  as  published
63       by  the  Free  Software Foundation, either version 3 of the License, or
64       (at your option) any later version.
65
67       ungleich GmbH 2020
68
69
70
71
726.9.6                            Apr 20, 2021   CDIST-TYPE__SENSIBLE_EDITOR(7)
Impressum