projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet
[mirror/dsa-puppet.git]
/
modules
/
motd
/
manifests
/
init.pp
diff --git
a/modules/motd/manifests/init.pp
b/modules/motd/manifests/init.pp
index
fb2a20e
..
a8d35a5
100644
(file)
--- a/
modules/motd/manifests/init.pp
+++ b/
modules/motd/manifests/init.pp
@@
-2,6
+2,8
@@
class motd {
file { "/etc/motd.tail":
notify => Exec["updatemotd"],
content => template("motd/motd.erb") ;
file { "/etc/motd.tail":
notify => Exec["updatemotd"],
content => template("motd/motd.erb") ;
+ "/etc/motd":
+ ensure => "/var/run/motd";
}
exec { "updatemotd":
command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",
}
exec { "updatemotd":
command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",