From: Peter Palfrader Date: Sun, 9 Oct 2011 09:26:49 +0000 (+0200) Subject: try it like this X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cd9391bb2ac7b909966094aaa751a7cd26fe049a;p=mirror%2Fdsa-puppet.git try it like this --- diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 636cdb64b..636afc069 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -71,12 +71,12 @@ end unless vms.empty? purp += "\nThe following virtual machines run on this system:\n" vms.each do |node| - purp += "\t#{node}" + purp += "\t- #{node}" if allnodeinfo[node]['purpose'] purp += ":\n" allnodeinfo[node]['purpose'].sort.each do |l| l = markup(l) - purp += "\t - " + l + "\n" + purp += "\t " + l + "\n" end else purp += "\n"