remove porterbox purpose when we add the porterbox blurb to the motd
[mirror/dsa-puppet.git] / modules / motd / templates / motd.erb
index 41aa808..10aeec2 100644 (file)
@@ -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