]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/motd/templates/motd.erb
spacing
[dsa-puppet.git] / modules / motd / templates / motd.erb
index 2b51dceebf442a8f3bcec513904e59c5b5837f67..a6e5b4a496399196fd87f71d00be9464b22ee8a9 100644 (file)
@@ -50,8 +50,12 @@ else
   purp += "\n"
 end
 
+if (nodeinfo['ldap'].has_key?('physicalHost'))
+  purp += "\nThis virtual server runs on the physical host #{nodeinfo['ldap']['physicalHost'][0]}.\n"
+end
+
 if nodeinfo.has_key?('footer')
-  purp += "\n" + nodeinfo['footer'] + "\n"
+  purp += "\n" + wrap(nodeinfo['footer']) + "\n"
 end
 purp
 -%>