[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:32:35 UTC 2010


The following commit has been merged in the upstream branch:
commit e69b7db9124b9b1cd65ab89a2f5c6968928f256d
Author: Gábor Vészi <veszig at done.hu>
Date:   Thu Mar 11 05:32:45 2010 -0700

    Fail gracefully on packages that don't have the HOMEPAGE variable set (e.g. dev-lang/php).

diff --git a/lib/puppet/provider/package/portage.rb b/lib/puppet/provider/package/portage.rb
index bd03aad..07112cb 100644
--- a/lib/puppet/provider/package/portage.rb
+++ b/lib/puppet/provider/package/portage.rb
@@ -72,7 +72,7 @@ Puppet::Type.type(:package).provide :portage, :parent => Puppet::Provider::Packa
     end
 
     def query
-        result_format = /(\S+) (\S+) \[(\S*)\] \[(\S+)\] (\S+) (.*)/
+        result_format = /(\S+) (\S+) \[(\S*)\] \[(\S+)\] +(\S+) (.*)/
         result_fields = [:category, :name, :ensure, :version_available, :vendor, :description]
 
         version_format = "{last}<version>{}"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list