puppet-rvm
puppet-rvm copied to clipboard
Puppet Module to manage RVM installations
RVM Module
James Fryman [email protected]
This module manages RVM from within Puppet.
Quick Start
Install and bootstrap an RVM instance
Requirements
Puppet Labs Standard Library
- http://github.com/puppetlabs/puppetlabs-stdlib
Add a new Ruby instance via RVM and set as default system Ruby
rvm::define::version { 'ree-1.8.7':
ensure => 'present',
system => 'true',
}
Install a gem to a specific Ruby
rvm::define::gem { 'puppet':
ensure => 'present',
ruby_version => 'ree-1.8.7',
gem_version => '2.7.1',
}
Add a user to allow RVM execution without Sudo
rvm::define::user { 'jfryman': }