From 43831168f00b7ef5c1ec1fa306ca73b546173a56 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 26 Apr 2009 16:22:08 +0100 Subject: [PATCH] Use the facter variable name Signed-off-by: Stephen Gran --- templates/motd-new.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/motd-new.erb b/templates/motd-new.erb index 1b6bb25b3..d0538d41e 100644 --- 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 " -- 2.20.1