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