[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.4-89-gcbbd363

James Turnbull james at lovedthanlost.net
Tue May 18 09:04:18 UTC 2010


The following commit has been merged in the upstream branch:
commit 4eea77a3a324cd311624eadb0344869db5e9c241
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