3 # This class configures a sensible motd
10 if $::lsbmajdistrelease >= 7 {
11 $fname = '/etc/update-motd.d/puppet-motd'
15 file { '/etc/update-motd.d':
19 file { '/etc/motd.tail':
23 $fname = '/etc/motd.tail'
24 $notify = Exec['updatemotd']
31 target => '/var/run/motd'
37 content => template('motd/motd.erb')
41 command => 'uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd',