[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch,	experimental, updated. debian/2.6.8-1-844-g7ec39d5
    Maciej Blizinski 
    maciej at opencsw.org
       
    Tue May 10 07:58:44 UTC 2011
    
    
  
The following commit has been merged in the experimental branch:
commit d026bb7c963f992e378ade5e0586242f506c62c7
Author: Maciej Blizinski <maciej at opencsw.org>
Date:   Thu Jul 22 13:13:58 2010 +0200
    pkgutil provider: Using the --single option which speeds up execution.
diff --git a/lib/puppet/provider/package/pkgutil.rb b/lib/puppet/provider/package/pkgutil.rb
index 4f6b5c2..b8ad548 100644
--- a/lib/puppet/provider/package/pkgutil.rb
+++ b/lib/puppet/provider/package/pkgutil.rb
@@ -37,6 +37,9 @@ Puppet::Type.type(:package).provide :pkgutil, :parent => :sun, :source => :sun d
         command = ["-c"]
 
         if hash[:justme]
+            # The --single option speeds up the execution, because it queries
+            # the package managament system for one package only.
+            command << ["--single"]
             command << hash[:justme]
         end
 
-- 
Puppet packaging for Debian
    
    
More information about the Pkg-puppet-devel
mailing list