diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:28 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:28 -0400 |
commit | 20a58814984e4d3f1235a5b3ae94959df0e85887 (patch) | |
tree | 07af3ef48c97f5026c593fafbc8fc68d8204892a /manifests/params.pp |
Squashed 'puppet/modules/bundler/' content from commit bacec3e
git-subtree-dir: puppet/modules/bundler
git-subtree-split: bacec3e072649be4ade56f7df8506b46ae9c5166
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp new file mode 100644 index 00000000..53ca86e4 --- /dev/null +++ b/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}") + } + } + +} |