Closed jamtur01 closed 13 years ago
It works for me, but only if I include ensure => 'present'
in both rvm_system_ruby
stanzas.
Also, what version of puppet are you using? When I add provider => rvm_system_ruby
I get an error:
err: Could not run Puppet configuration client:
Parameter provider failed: Invalid rvm_system_ruby provider 'rvm_system_ruby'
Ah I see. I forget the ensurable types need that. I could have sworn you could skip it.
And sorry I renamed your provider to make it consistent.
Puppet::Type.type(:rvm_system_ruby).provide(:rvm_system_ruby) do
I am testing with a bunch of different versions - 0.25.5, 2.6.2 and 2.6.8.
You can consider this PEBCAK.
I think your exists? method in rvm_system_ruby isn't supporting multiple rubies.
I have:
in a manifest. When I run the manifest one Ruby gets installed but the other returns:
Even though:
only returns 1.9.2 installed.