projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git]
/
motd
/
manifests
/
init.pp
1
class motd {
2
3
file { '/etc/motd.tail':
4
notify => Exec['updatemotd'],
5
content => template('motd/motd.erb')
6
}
7
file { '/etc/motd':
8
ensure => link,
9
target => '/var/run/motd'
10
}
11
12
exec { 'updatemotd':
13
command => 'uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd',
14
refreshonly => true,
15
}
16
}