From: Stephen Gran Date: Sun, 26 Apr 2009 15:22:08 +0000 (+0100) Subject: Use the facter variable name X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=43831168f00b7ef5c1ec1fa306ca73b546173a56;p=mirror%2Fdsa-puppet.git Use the facter variable name Signed-off-by: Stephen Gran --- 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 "