Puppet Class: ruby::chruby

Defined in:
manifests/chruby.pp

Overview

Parameters:

  • ensure (Any) (defaults to: $ruby::chruby::ensure)
  • prefix (Any) (defaults to: $ruby::chruby::prefix)
  • user (Any) (defaults to: $ruby::chruby::user)
  • auto_switch (Any) (defaults to: $ruby::chruby::auto_switch)


10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/chruby.pp', line 10

class ruby::chruby(
  $ensure      = $ruby::chruby::ensure,
  $prefix      = $ruby::chruby::prefix,
  $user        = $ruby::chruby::user,
  $auto_switch = $ruby::chruby::auto_switch,
) {

  require ruby

  repository { $prefix:
    ensure => $ensure,
    force  => true,
    source => 'postmodern/chruby',
    user   => $user
  }

}