summaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: e0162791e52318e4069bd759ea7ccf0359672fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Class bundler::params
# 
# All config settings for candiapp class
#
# == Parameters
#
#
#
# == Examples
#
#
# == Requires:
#
class bundler::params {

  case $::operatingsystem {
    ubuntu, debian: {
      $user               = 'root'
      $home_dir_base_path = '/home'
      $use_rvm            = 'true'
      $rvm_bin            = '/usr/local/rvm/bin/rvm'
      $rvm_gem_path       = '/usr/local/rvm/gems'
      $rvm_gemset         = 'global'
      $ruby_version       = 'ruby-1.9.2-p290'
      $bundler_path       = '/usr/bin'
    }
    default: {
      fail("Unsupported platform: ${::operatingsystem}")
    }
  }

}