3 # This class configures a sensible motd
10 file { '/etc/update-motd.d':
14 file { '/etc/motd.tail':
18 if versioncmp($::lsbmajdistrelease, '9') < 0 {
21 target => '/var/run/motd'
26 target => '/run/motd.dynamic'
30 file { '/etc/update-motd.d/puppet-motd':
33 content => template('motd/motd.erb')
37 command => 'uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd',