.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CDIST-TYPE__SENSIBLE_EDITOR" "7" "Sep 26, 2023" "7.0.0" "cdist" .SH NAME .sp cdist\-type__sensible_editor \- Select the sensible\-editor .SH DESCRIPTION .sp This cdist type allows you to select the \fBsensible\-editor\fP for a given user. .SH REQUIRED PARAMETERS .INDENT 0.0 .TP .B editor Name or path of the editor to be selected. On systems other than Debian derivatives an absolute path is required. .INDENT 7.0 .INDENT 3.5 It is permissible to omit this parameter if \-\-state is absent. .UNINDENT .UNINDENT .UNINDENT .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B state \(aqpresent\(aq, \(aqabsent\(aq, or \(aqexists\(aq. Defaults to \(aqpresent\(aq, where: .INDENT 7.0 .TP .B present the sensible\-editor is exactly what is specified in \-\-editor. .TP .B absent no sensible\-editor configuration is present. .TP .B exists the sensible\-editor will be set to what is specified in \-\-editor, unless there already is a configuration on the target system. .UNINDENT .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX __sensible_editor root \-\-editor /bin/ed # ed(1) is the standard __sensible_editor noob \-\-editor nano .EE .UNINDENT .UNINDENT .SH LIMITATIONS .sp This type depends upon the \fBsensible\-editor\fP(1) script which is part of the sensible\-utils package. .INDENT 0.0 .TP .B Therefore, the following operating systems are supported: .INDENT 7.0 .IP \(bu 2 Debian 8 (jessie) or later .IP \(bu 2 Devuan .IP \(bu 2 Ubuntu 8.10 (intrepid) or later .IP \(bu 2 RHEL/CentOS 7 or later (EPEL repo required) .IP \(bu 2 Fedora 21 or later .UNINDENT .UNINDENT .sp Note: on old versions of Ubuntu the sensible\-* utils are part of the debianutils package. .SH SEE ALSO .sp \fBselect\-editor\fP(1), \fBsensible\-editor\fP(1). .SH AUTHOR .sp Dennis Camera <\fI\%dennis.camera\-\-@\-\-ssrq\-sds\-fds.ch\fP> .SH COPYING .sp Copyright (C) 2019 Dennis Camera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .SH COPYRIGHT ungleich GmbH 2021 .\" Generated by docutils manpage writer. .