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:
883226e
)
Use the facter variable name
author
Stephen Gran
<steve@lobefin.net>
Sun, 26 Apr 2009 15:22:08 +0000
(16:22 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 26 Apr 2009 15:22:08 +0000
(16:22 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/motd-new.erb
patch
|
blob
|
history
diff --git
a/templates/motd-new.erb
b/templates/motd-new.erb
index
1b6bb25
..
d0538d4
100644
(file)
--- a/
templates/motd-new.erb
+++ b/
templates/motd-new.erb
@@
-18,7
+18,7
@@
if nodeinfo.has_key?('nameinfo')
purp += nodeinfo['nameinfo'] + "\n\n"
end
-purp += 'Welcome to ' +
host
+purp += 'Welcome to ' +
fqdn
if (nodeinfo['ldap'].at(0)) and (nodeinfo['ldap'][0].has_key?('purpose'))
if nodeinfo['ldap'][0]['purpose'].include?('buildd')
purp += ", the Debian "