blt04/puppet-rvm — Issue #28: unable to install rubies and bundlers on puppet 2.7.9
Author: Nkem
Created: 2011-12-20 14:17:08+00:00
State: open

if $rvm_installed == "true" {
rvm_system_ruby {
'jruby-1.6.3':
ensure => 'present',
default_use => true;
'jruby-1.6.4':
ensure => 'present',
default_use => false;
'jruby-1.6.5':
ensure => 'present',
default_use => false;
'ruby-1.9.3-p0':
ensure => 'present',
default_use => false;
}
rvm_gem {
'bundler193':
name => 'bundler',
ruby_version => 'ruby-1.9.3-p0',
ensure => 'present',
require => Rvm_system_ruby['ruby-1.9.3-p0'];
'bundlerjruby163':
name => 'bundler',
ruby_version => 'jruby-1.6.3',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.3'];
'bundlerjruby164':
name => 'bundler',
ruby_version => 'jruby-1.6.4',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.4'];
'bundlerjruby165':
name => 'bundler',
ruby_version => 'jruby-1.6.5',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.5'];
'railsjruby163':
name => 'rails',
ruby_version => 'jruby-1.6.3',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.3'];
'railsjruby164':
name => 'rails',
ruby_version => 'jruby-1.6.4',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.4'];
'railsjruby165':
name => 'rails',
ruby_version => 'jruby-1.6.5',
ensure => 'present',
require => Rvm_system_ruby['jruby-1.6.5'];
}
}