summaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: c7988c258f9ed2778fe41148e818ee30c91c5431 (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
# 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'
      $bundler_path       = '/usr/bin'
    }
    default: {
      fail("Unsupported platform: ${::operatingsystem}")
    }
  }

}