[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Dominic Cleal
dcleal at redhat.com
Tue May 10 08:07:01 UTC 2011
The following commit has been merged in the experimental branch:
commit 557ed85fd4c03cf3a5c48dce25000db6e71021a9
Author: Dominic Cleal <dcleal at redhat.com>
Date: Tue Mar 22 22:48:39 2011 +0000
(#4258) Fix hash duplication affecting canonical provider instance
diff --git a/lib/puppet/provider/package/pkgutil.rb b/lib/puppet/provider/package/pkgutil.rb
index 350cacc..30f23e0 100755
--- a/lib/puppet/provider/package/pkgutil.rb
+++ b/lib/puppet/provider/package/pkgutil.rb
@@ -38,7 +38,7 @@ Puppet::Type.type(:package).provide :pkgutil, :parent => :sun, :source => :sun d
# Create a second instance with the alias if it's different
pkgalias = aliases[pkg[:name]]
if pkgalias and pkg[:name] != pkgalias
- apkg = Hash.new(pkg)
+ apkg = pkg.dup
apkg[:name] = pkgalias
pkginsts << new(apkg)
end
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list