summaryrefslogtreecommitdiff
path: root/puppet/modules/bundler/manifests/params.pp
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:28 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:28 -0400
commit0368d69fe1b2bab034b42a738dd1efabf2f14f54 (patch)
treed64c0fbcea22f52f456817813c233cdb885da1b3 /puppet/modules/bundler/manifests/params.pp
parent7fa061f6ed030a3deb903ea32f23d484210089f0 (diff)
parent20a58814984e4d3f1235a5b3ae94959df0e85887 (diff)
Merge commit '20a58814984e4d3f1235a5b3ae94959df0e85887' as 'puppet/modules/bundler'
Diffstat (limited to 'puppet/modules/bundler/manifests/params.pp')
-rw-r--r--puppet/modules/bundler/manifests/params.pp31
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}")
+ }
+ }
+
+}