Skip to content

Latest commit

 

History

History
104 lines (58 loc) · 2.57 KB

REFERENCE.md

File metadata and controls

104 lines (58 loc) · 2.57 KB

Reference

Table of Contents

Classes

  • motd: This module configures a system message of the day on a wide variety of systems.

Classes

motd

This module configures a system message of the day on a wide variety of systems.

Examples

Basic usage
include motd

Parameters

The following parameters are available in the motd class:

dynamic_motd

Data type: Boolean

Enables or disables dynamic motd on Debian systems.

Default value: true

template

Data type: Optional[String]

Specifies a custom template. A template takes precedence over content. Valid options: '/mymodule/mytemplate.erb'.

Default value: undef

content

Data type: Optional[String]

Specifies a static string as the motd content.

Default value: undef

issue_template

Data type: Optional[String]

Specifies a custom template to process and save to /etc/issue. A template takes precedence over issue_content.

Default value: undef

issue_content

Data type: Optional[String]

Specifies a static string as the /etc/issue content.

Default value: undef

issue_net_template

Data type: Optional[String]

Specifies a custom template to process and save to /etc/issue.net. A template takes precedence over issue_net_content.

Default value: undef

issue_net_content

Data type: Optional[String]

Specifies a static string as the /etc/issue.net content.

Default value: undef

windows_motd_title

Data type: String

Specifies a static string to be used for: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticetext' and 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system\legalnoticecaption' The 'legalnoticetext' registry key is shown before login on a Windows system.

Default value: 'Message of the day'