3 # This class configures a sensible motd
11 if $::lsbdistcodename == 'wheezy' {
12 $fname = '/etc/update-motd.d/puppet-motd'
21 } elsif $::lsbdistcodename == 'squeeze' {
22 $fname = '/etc/motd.tail'
23 $notify = Exec['updatemotd']
28 target => '/var/run/motd'
31 command => 'uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd',
39 content => template('motd/motd.erb')