.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__MOTD" "7" "Feb 07, 2021" "6.9.4" "cdist" . .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 .. .SH NAME .sp cdist\-type__motd \- Manage message of the day .SH DESCRIPTION .sp This cdist type allows you to easily setup /etc/motd. .sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 In some OS, motd is a bit special, check \fImotd(5)\fP\&. Currently Debian, Devuan, Ubuntu and FreeBSD are taken into account. If your OS of choice does something besides /etc/motd, check the source and contribute support for it. Otherwise it will likely just work. .UNINDENT .UNINDENT .SH REQUIRED PARAMETERS .sp None. .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B source If supplied, copy this file from the host running cdist to the target. If source is \(aq\-\(aq (dash), take what was written to stdin as the file content. If not supplied, a default message will be placed onto the target. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # Use cdist defaults __motd # Supply source file from a different type __motd \-\-source "$__type/files/my\-motd" # Supply source from stdin __motd \-\-source "\-" < .SH COPYING .sp Copyright (C) 2020 Nico Schottelius. 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 2020 .\" Generated by docutils manpage writer. .