Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 686 Bytes

README.markdown

File metadata and controls

36 lines (27 loc) · 686 Bytes

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

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': }