projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a5aea
)
Let's try a symlink
author
Stephen Gran
<steve@lobefin.net>
Sun, 7 Jun 2009 17:44:10 +0000
(18:44 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 7 Jun 2009 17:45:16 +0000
(18:45 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/motd/manifests/init.pp
patch
|
blob
|
history
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") ;
+ "/etc/motd":
+ ensure => "/var/run/motd";
}
exec { "updatemotd":
command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",