]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/motd/manifests/init.pp
OK, it's picky if you don't give it a path
[dsa-puppet.git] / modules / motd / manifests / init.pp
1 class motd {
2         file { "/etc/motd.tail":
3                 notify  => Exec["updatemotd"],
4                 content => template("motd.erb") ;
5         }
6         exec { "updatemotd":
7                 command => "/bin/uname -snrvm > /var/run/motd && /bin/cat /etc/motd.tail >> /var/run/motd"
8         }
9 }