2011-03-12 17:47:34 +00:00
|
|
|
cdist-type__motd(7)
|
|
|
|
===================
|
2016-05-20 06:50:56 +00:00
|
|
|
Manage message of the day
|
2011-03-12 17:47:34 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2011-03-12 17:47:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This cdist type allows you to easily setup /etc/motd.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
None.
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
source
|
2011-03-12 17:47:34 +00:00
|
|
|
If supplied, copy this file from the host running cdist to the target.
|
|
|
|
If not supplied, a default message will be placed onto the target.
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Use cdist defaults
|
|
|
|
__motd
|
2011-03-12 17:47:34 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Supply source file from a different type
|
|
|
|
__motd --source "$__type/files/my-motd"
|
2011-03-12 17:47:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-05-20 06:50:56 +00:00
|
|
|
- `cdist-type(7) <cdist-type.html>`_
|
2011-03-12 17:47:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2011 Nico Schottelius. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|