projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7c1f74e9beb6f6a72259a36a3c3706b7e6ff3834
[mirror/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 => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd"
8
}
9
}