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:
b2a6f14
)
remove porterbox purpose when we add the porterbox blurb to the motd
author
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 10:30:11 +0000
(12:30 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 8 Sep 2019 10:30:11 +0000
(12:30 +0200)
modules/motd/templates/motd.erb
patch
|
blob
|
history
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