From 73953673601107f75abcdc247547fc7ecde73e8a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 8 Sep 2019 12:30:11 +0200 Subject: [PATCH] remove porterbox purpose when we add the porterbox blurb to the motd --- modules/motd/templates/motd.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/motd/templates/motd.erb b/modules/motd/templates/motd.erb index 41aa80822..10aeec271 100644 --- 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 -- 2.20.1