Forge Home

meta_motd

Create a message of the day that includes metadata about the node

1,120 downloads

1,120 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.0 (latest)
released Sep 17th 2021
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x
  • Puppet >= 6.1.0 < 8.0.0
  • , , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ploperations-meta_motd', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ploperations-meta_motd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ploperations-meta_motd --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

ploperations/meta_motd — version 1.0.0 Sep 17th 2021

meta_motd

Build Status

Description

The message of the day, or MOTD, is the first thing a user sees when logging into a system. Providing contextual information about the system allows users to quickly get an overview of what the system does. This module is used internally at Puppet and is actively maintained.

Examples

Below are a some examples of what this module can produce.

Note that the Consul Agent (profile::consul) line below each MOTD was added by ploperations/profile_metadata

short-puppet.epp:

canary-basic-debian8-dev-1.example.net - 10.0.0.20 - opdx
 _____                 _
|  _  |_ _ ___ ___ ___| |_
|   __| | | . | . | -_|  _|  Puppet 6.10.1 in production
|__|  |___|  _|  _|___|_|    role::canary::basic
          |_| |_|

Canary node
  role::canary::basic owned by team infracore

Consul Agent (profile::consul)

tall-puppet.epp:

 ____  __ __  ____  ____   ___ ______
|    \|  |  ||    \|    \ /  _]      |  Env: production
|  o  )  |  ||  o  )  o  )  [_|      |  OS: Debian 8 aka jessie
|   _/|  |  ||   _/|   _/    _]_|  |_|  Location: opdx in vmware
|  |  |  :  ||  |  |  | |   [_  |  |    Puppet: 6.10.1
|  |  |     ||  |  |  | |     | |  |
|__|   \__,_||__|  |__| |_____| |__|
FQDN: canary-basic-debian8-dev-1.example.net

Canary node
  role::canary::basic owned by team infracore

Consul Agent (profile::consul)

colossal-puppet-dag.epp:

canary-basic-debian8-dev-1.example.net - 10.0.0.20 - opdx

8888888b.                                      888    @@@@@@@@@@@@@@@
888   Y88b                                     888    @,,,,,,@@@@@@@@
888    888                                     888    @,,@@,,@@@@@@@@
888   d88P 888  888 88888b.  88888b.   .d88b.  888888 @,,,,,,,@@@@@@@
8888888P"  888  888 888 "88b 888 "88b d8P  Y8b 888    @@@@@@@@,,,,,,@ Puppet 6.10.1 in production
888        888  888 888  888 888  888 88888888 888    @@@@@@@@,,,,,,@ role::canary::basic
888        Y88b 888 888 d88P 888 d88P Y8b.     Y88b.  @@@@@@@@,,,,,,@
888         "Y88888 88888P"  88888P"   "Y8888   "Y888 @,,,,,,,@@@@@@@
                    888      888                      @,,@@,,@@@@@@@@
                    888      888                      @,,,,,,@@@@@@@@
                    888      888                      @@@@@@@@@@@@@@@


Canary node
  role::canary::basic owned by team infracore

Consul Agent (profile::consul)

Setup

This module will fully manage /etc/motd while also allowing other module (or profiles) to add information to it. This module will work without additional setup on your part. See Reference on the Puppet Forge or REFERENCE.md on GitHub for additional details about setup options.

Usage

include meta_motd

Reference

This module is documented via pdk bundle exec puppet strings generate --format markdown. Please see Reference on the Puppet Forge or REFERENCE.md on GitHub for more info.

Changelog

CHANGELOG.md is generated prior to each release via pdk bundle exec rake changelog. This process relies on labels that are applied to each pull request.

Limitations

This module does not currently do anything on Windows nodes.

Development

PR's, including ones with additional templates, are welcome!