Signed-off-by: Juerg Walz <[email protected]>
---
Local-branch: tickets/master/4258-dev
lib/puppet/provider/package/pkgutil.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/puppet/provider/package/pkgutil.rb
b/lib/puppet/provider/package/pkgutil.rb
index 4a87932..3a23796 100755
--- 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*$/
--
1.7.3.2
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.