summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
index 47ab022..fe7bb60 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -1,5 +1,5 @@
# Class bundler::install
-#
+#
# Installs bundler Ruby gem manager
#
# == Parameters
@@ -18,17 +18,17 @@
# include rvm
#
class bundler::install (
+ $ruby_version,
$ensure = 'present',
$use_rvm = $bundler::params::use_rvm,
- $ruby_version
-) inherits bundler::params {
+ ) inherits bundler::params {
- if $use_rvm == 'true' {
+ if $use_rvm == true {
#Install bundler with correct RVM
rvm_gem { 'bundler':
ensure => $ensure,
ruby_version => $ruby_version,
- }
+ }
}
else {
package { 'bundler':