projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd3f29
)
Get rid of two extra newlines in motd
author
Peter Palfrader
<peter@palfrader.org>
Fri, 23 Mar 2012 10:58:55 +0000
(11:58 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 23 Mar 2012 10:58:55 +0000
(11:58 +0100)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
21e081d
..
2087cbc
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-32,7
+32,7
@@
if (nodeinfo['ldap'].has_key?('purpose'))
if nodeinfo['ldap'].has_key?('architecture')
purp += nodeinfo['ldap']['architecture'][0]
end
- purp += " build daemon
\n
"
+ purp += " build daemon"
end
if p.delete('porterbox')
@@
-40,7
+40,7
@@
if (nodeinfo['ldap'].has_key?('purpose'))
if nodeinfo['ldap'].has_key?('architecture')
purp += nodeinfo['ldap']['architecture'][0]
end
- purp += " porterbox
\n
"
+ purp += " porterbox"
extra += "\n"
extra += "See 'dchroot -l' or 'schroot -l' for a list of available chroots.\n"
if nodeinfo['ldap'].has_key?('admin')