Puppet module for managing update-motd(5) on Ubuntu systems.
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',
}See LICENSE file.