ReleaseEngineering/PuppetAgain/Modules/motd

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This simple utility module constructs the motd file (displayed on SSH login) from multiple fragments. To use:

 motd {
     frob-enabled:
         content => "** NOTE: This host has frob enabled!";
 }

The content can also come from a template:

 content => template("${module_name}/motd.erb")

you can also add an order parameter to affect the order in which the messages are listed. This should be a two-digit number, given as a string. The default is 10.

 order => "05", # display above default-order motd fragments