projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
they don't do mail relay for others any more
[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/motd.erb") ;
5
"/etc/motd":
6
ensure => "/var/run/motd";
7
}
8
exec { "updatemotd":
9
command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",
10
refreshonly => true
11
}
12
}
13
# vim:set et:
14
# vim:set sts=4 ts=4:
15
# vim:set shiftwidth=4: