Issue #5207 has been updated by Jordan Sissel.

Status changed from Unreviewed to Closed

Actually, I think this might be a bug in gems (or atleast whatever mangled 
version of gems is on this system)

Check this out:
<pre>
ops(~) % sudo gem install --version '=0.0.7' sshkeyauth
Successfully installed sshkeyauth-0.0.6
1 gem installed
Installing ri documentation for sshkeyauth-0.0.6...
Installing RDoc documentation for sshkeyauth-0.0.6...
</pre>

So I asked for =0.0.7, but it gave me 0.0.6

Testing on another system, it works (and 'gem install' gets 0.0.7).

Marking this closed since I don't think this is a puppet problem.
----------------------------------------
Bug #5207: 'gem' package provider ensure doesn't seem to behave properly
https://projects.puppetlabs.com/issues/5207

Author: Jordan Sissel
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.2
Keywords: gem package provider
Branch: 


I was trying to install a newer version of a gem, but it seems to not work in 
puppet 2.6.2. Puppet says it ensured the new version, but it doesn't seem to 
actually do it.

Here's an example:
<pre>
ops(~) % cat test.pp
package {
  "sshkeyauth":
    ensure => "0.0.7",
    provider => "gem";
}
ops(~) % sudo puppet apply test.pp
notice: /Stage[main]//Package[sshkeyauth]/ensure: ensure changed '0.0.6' to 
'0.0.7'
ops(~) % gem list sshkeyauth

*** LOCAL GEMS ***

sshkeyauth (0.0.6)
</pre>




-- 
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.

Reply via email to