Forge Home

twit_motd

This module setup motd

229 downloads

158 latest version

4.7 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.1.1 (latest)
  • 1.1.0
  • 1.0.2 (deleted)
  • 1.0.1 (deleted)
released Nov 20th 2023
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 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
  • Puppet >= 7.0.0 < 9.0.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'toto-twit_motd', '1.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add toto-twit_motd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install toto-twit_motd --version 1.1.1

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
Tags: motd

Documentation

toto/twit_motd — version 1.1.1 Nov 20th 2023

twit_motd

Table of Contents

  1. Module Description
  2. Usage
  3. Reference
  4. Supported OS
  5. Requirements

Module Description

This module sets up your motd. A message will appear stating that your system is managed by Puppet and will also display the added modules.

Usage

Use twit_motd::register { $module_name: } at the end of your init.pp and the module name will be add into the motd.

class your_class () {
  include twit_motd
  ...
  contain your_class::params
  contain your_class::config
  ...

  Class['your_class::params']
  -> Class['your_class::config']

  twit_motd::register { $module_name: }
}

Also you can add text into the $motd_motd variable to add a custom message as well. Output will be the follows:

==============================[ NOTICE ]==============================

    This system is monitored by puppet.
    Local changes could be lost!
    If you have any questions, please contact your@e-mail.ltd

======================================================================

Custom Message

======================================================================

    Registered puppet modules:
      -- twit_motd
      -- ...

Reference

See REFERENCE.md.

OS-Support

This module is supported on the following operating systems:

  • Debian
    • 9
    • 10
    • 11
    • 12
  • Ubuntu
    • 18.04
    • 20.04
    • 22.04
  • FreeBSD
    • 12
    • 13

Requirements