projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do away with QACORE user alias, use the qa-core group instead (RT#2533)
[mirror/dsa-puppet.git]
/
modules
/
motd
/
manifests
/
init.pp
diff --git
a/modules/motd/manifests/init.pp
b/modules/motd/manifests/init.pp
index
9fedde7
..
0de4936
100644
(file)
--- a/
modules/motd/manifests/init.pp
+++ b/
modules/motd/manifests/init.pp
@@
-1,10
+1,15
@@
class motd {
file { "/etc/motd.tail":
notify => Exec["updatemotd"],
class motd {
file { "/etc/motd.tail":
notify => Exec["updatemotd"],
- content => template("motd.erb") ;
+ 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",
refreshonly => true
}
}
}
exec { "updatemotd":
command => "uname -snrvm > /var/run/motd && cat /etc/motd.tail >> /var/run/motd",
refreshonly => true
}
}
+# vim:set et:
+# vim:set sts=4 ts=4:
+# vim:set shiftwidth=4: