summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp7
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
index fe7bb60..e464390 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -19,8 +19,9 @@
#
class bundler::install (
$ruby_version,
- $ensure = 'present',
- $use_rvm = $bundler::params::use_rvm,
+ $ensure = 'present',
+ $use_rvm = $bundler::params::use_rvm,
+ $install_method = $bundler::params::install_method,
) inherits bundler::params {
if $use_rvm == true {
@@ -33,7 +34,7 @@ class bundler::install (
else {
package { 'bundler':
ensure => $ensure,
- provider => 'gem',
+ provider => $install_method,
}
}