Forge Home

updatemotd

Manage update-motd(5) on Ubuntu systems

38,739 downloads

38,739 latest version

4.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

  • 0.0.1 (latest)
released Aug 6th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'gdsoperations-updatemotd', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gdsoperations-updatemotd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gdsoperations-updatemotd --version 0.0.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

Documentation

gdsoperations/updatemotd — version 0.0.1 Aug 6th 2013

updatemotd

Puppet module for managing update-motd(5) on Ubuntu systems.

Example usage

Include with default parameters:

include updatemotd

Define some static content for motd.tail(5):

class { 'updatemotd':
  content => 'Welcome, humanoid!',
}

Manage more advanded scripted content:

class { 'updatemotd':
  purge_directory => true,
}
updatemotd::script { 'important':
  content => '#!/bin/bash\nexec uptime\n',
}

License

See LICENSE file.