Issue #3182 has been reported by Dan Bode.
----------------------------------------
Bug #3182: gem provider only matches first installed gem version
http://projects.reductivelabs.com/issues/3182
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assigned to:
Category: package
Target version:
Affected version: 0.25.4
Keywords: gem provider package version
Branch:
The gem provider is only matching the fist listed installed gem version for
rails in the below example.
Here is the list of installed gems:
#>gem list
<pre>
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.1.2)
actionpack (2.3.5, 2.1.2)
activerecord (2.3.5, 2.1.2)
activeresource (2.3.5, 2.1.2)
activesupport (2.3.5, 2.1.2)
facter (1.5.6)
puppet (0.25.1)
rack (1.0.1)
rails (2.3.5, 2.1.2)
rake (0.8.7)
</pre>
puppet understands that version 2.3.5 is already installed
#>puppet -e 'package{rails: ensure=>"2.3.5", provider=>gem}'
# no output, nothing happens
but, it is confused about 2.1.2
#>puppet -e 'package{rails: ensure=>"2.1.2", provider=>gem}'
notice: //Package[rails]/ensure: ensure changed '2.3.5' to '2.1.2'
if I run the above puppet command again, it tries to install the package
version 2.1.2 again (and again, and again)
--
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://reductivelabs.com/redmine/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.