2nd update to pkgutil changes (aka v3): Bug-fix to handle OpenCSW packages 
where the package "shortname" is not equal to the Solaris package name (eg. 
"screen" -> Solaris pkg CSWscrn).

--- a/lib/puppet/provider/package/pkgutil.rb
+++ b/lib/puppet/provider/package/pkgutil.rb
@@ -80,8 +80,8 @@ Puppet::Type.type(:package).provide :pkgutil, :parent => 
:sun, :source => :sun d
       end
       hash[:avail] = $3
 
-      if justme !~ /^[A-Z]+/
-        hash[:name].sub! /^[A-Z]+/, ''
+      if justme
+        hash[:name] = justme
       end
 
       if hash[:avail] =~ /^SAME\s*$/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to