From 20a58814984e4d3f1235a5b3ae94959df0e85887 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 24 May 2016 10:19:28 -0400 Subject: Squashed 'puppet/modules/bundler/' content from commit bacec3e git-subtree-dir: puppet/modules/bundler git-subtree-split: bacec3e072649be4ade56f7df8506b46ae9c5166 --- manifests/params.pp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 manifests/params.pp (limited to 'manifests/params.pp') 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}") + } + } + +} -- cgit v1.2.3