[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

rgevaert rudy.gevaert+github at ugent.be
Tue May 10 08:01:26 UTC 2011


The following commit has been merged in the experimental branch:
commit 2725fb3b4821543f2e17f5eaf51d9a95fa177f38
Author: rgevaert <rudy.gevaert+github at ugent.be>
Date:   Tue Nov 16 12:03:52 2010 +0100

    Add comments that explain what we are ignoring in the package and remove legacy output

diff --git a/lib/puppet/provider/package/pkgutil.rb b/lib/puppet/provider/package/pkgutil.rb
index a5f852d..1d699f3 100755
--- a/lib/puppet/provider/package/pkgutil.rb
+++ b/lib/puppet/provider/package/pkgutil.rb
@@ -47,9 +47,9 @@ Puppet::Type.type(:package).provide :pkgutil, :parent => :sun, :source => :sun d
 
         list = output.split("\n").collect do |line|
             next if line =~ /^#/
-            next if line =~ /^WARNING/
-            next if line =~ /localrev\s+remoterev/
-            next if line =~ /installed\s+catalog/
+            #next if line =~ /^WARNING/
+            #next if line =~ /localrev\s+remoterev/
+            next if line =~ /installed\s+catalog/  # header of package list
             next if line =~ /^Checking integrity / # use_gpg
             next if line =~ /^gpg: /               # gpg verification
             next if line =~ /^=+> /                # catalog fetch

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list