components/puppet/patches/puppet-07-PUP-2641.patch
branchs11u2-sru
changeset 3460 5c5af6e58474
parent 3457 6358358b4186
child 3461 1240b4c4e38d
--- a/components/puppet/patches/puppet-07-PUP-2641.patch	Wed Nov 05 23:11:09 2014 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-In-house patch to fix upstream bug PUP-2641
-https://tickets.puppetlabs.com/browse/PUP-2641
-Patch has been submitted upstream but not yet accepted.
-
---- puppet-3.4.1/lib/puppet/application/describe.rb.orig	2014-05-29 08:14:12.779421080 -0600
-+++ puppet-3.4.1/lib/puppet/application/describe.rb	2014-05-29 08:14:37.064254740 -0600
-@@ -70,13 +70,8 @@
-     }.each do |name|
-       type = @types[name]
-       s = type.doc.gsub(/\s+/, " ")
--      n = s.index(". ")
--      if n.nil?
--        s = ".. no documentation .."
--      elsif n > 45
-+      if s.length > 45
-         s = s[0, 45] + " ..."
--      else
--        s = s[0, n]
-       end
-       printf "%-15s - %s\n", name, s
-     end