updatemotd

Manage update-motd(5) on Ubuntu systems

Government Digital Service

gdsoperations

37,427 downloads

37,427 latest version

4.0 quality score

Version information

  • 0.0.1 (latest)
released Aug 6th 2013

Start using this module

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.