Issue #3127 has been updated by Piotr Stolc.
This bug is also present in 2.6.2
Here is my quick fix for this bug. I don't know whether this fix doesn't break
something else in the provider ;)
--- puppet-2.6.2/lib/puppet/provider/package/gem.rb.orig 2010-09-23
00:43:24.000000000 +0200
+++ puppet-2.6.2/lib/puppet/provider/package/gem.rb 2010-11-09
13:51:36.833339952 +0100
@@ -22,7 +22,7 @@
end
if name = hash[:justme]
- command << name
+ command << name + "$"
end
begin
----------------------------------------
Bug #3127: gem provider will incorrectly consider gem with similar name is
installed
https://projects.puppetlabs.com/issues/3127
Author: Byron Appelt
Status: Investigating
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 0.25.4
Keywords:
Branch:
If I have:
package { "json":
ensure => installed,
provider => gem,
require => Exec["ruby setup.rb"]
}
while a gem called "json_pure" is installed, the "json" gem will not be
installed since there is already a gem starting with the same name.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.