diff options
author | Micah <micah@leap.se> | 2016-07-12 16:46:00 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-07-12 16:46:00 -0400 |
commit | b5c3c14ae094bff896d19ee37f967e8fc8c34017 (patch) | |
tree | e354f84795e66cb6acae4cb0b0e122d3e498424f /puppet/modules/bundler/manifests/params.pp | |
parent | 4aff06cc2fecc0b59728d7fc825fb36394b847b7 (diff) |
git subrepo clone https://leap.se/git/puppet_bundler puppet/modules/bundler
subrepo:
subdir: "puppet/modules/bundler"
merged: "bacec3e"
upstream:
origin: "https://leap.se/git/puppet_bundler"
branch: "master"
commit: "bacec3e"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "1e79595"
Change-Id: I7596e2c4abf326acbce2a01c363e9694626e230f
Diffstat (limited to 'puppet/modules/bundler/manifests/params.pp')
-rw-r--r-- | puppet/modules/bundler/manifests/params.pp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/puppet/modules/bundler/manifests/params.pp b/puppet/modules/bundler/manifests/params.pp new file mode 100644 index 00000000..53ca86e4 --- /dev/null +++ b/puppet/modules/bundler/manifests/params.pp @@ -0,0 +1,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' + $install_method = 'rvm' + $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}") + } + } + +} |