From: Stephen Gran Date: Sun, 26 Apr 2009 23:42:02 +0000 (+0100) Subject: Make even purposeless (useless?) hosts have nicely formatted motds X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=inline;h=5a85882ef9eba70fda5f58c97cc5e9c30cb1ec2e;p=mirror%2Fdsa-puppet.git Make even purposeless (useless?) hosts have nicely formatted motds Signed-off-by: Stephen Gran --- diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index b186dc917..0d7b4b791 100644 --- a/modules/motd/templates/motd.erb +++ b/modules/motd/templates/motd.erb @@ -44,6 +44,8 @@ if (nodeinfo['ldap'].at(0)) and (nodeinfo['ldap'][0].has_key?('purpose')) purp += "\t" + l + "\n" end end +else + purp += "\n" end if nodeinfo.has_key?('footer')