projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove porterbox purpose when we add the porterbox blurb to the motd
[mirror/dsa-puppet.git]
/
modules
/
motd
/
templates
/
motd.erb
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
41aa808
..
10aeec2
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-52,6
+52,7
@@
if (scope.lookupvar('site::nodeinfo')['ldap'].has_key?('purpose'))
end
if classes.include?("roles::porterbox")
entries += ", the Debian #{arch} porterbox"
+ p.delete('porterbox')
end
if p.size() > 0