I've been looking at:

https://projects.puppetlabs.com/issues/3182

Rubygems supports installing multiple versions but if in Puppet more
than one version is installed and I manually specify a version:

$ gem list yard

*** LOCAL GEMS ***

yard (0.6.4, 0.6.1, 0.5.4, 0.5.2, 0.4.0)

Manifest:

package { "yard":
    ensure => "0.6.1",
    provider => gem,
}

I get:

notice: //pelin.lovedthanlost.net//Stage[main]//Package[yard]/ensure:
current_value 0.6.4, should be 0.6.1 (noop)

So we have two issues (or maybe one...):

1. The provider tries to replace an already installed version
2. The gem provider has the versionable feature but doesn't understand
that multiple versions can be installed

Anyone have any insights into how we should solve this?  Return all
versions and check them before installing?  Does that feel right to people?

Regards

James

-- 
James Turnbull
Puppet Labs
1-503-734-8571

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

Reply via email to