summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-11-29 15:53:15 -0500
committerMicah Anderson <micah@riseup.net>2012-11-29 15:53:15 -0500
commitb4a4a8434616247156e59b860b47cc6256ead8d1 (patch)
tree69e1f7d527c4fd91c7df03447a48200897cf109f /manifests
parentb91d6abfa931b8ef63594092d841701d3ee23280 (diff)
passing install_method => '' to chose the default package provider was a bit
opaque in manifests, so allow for 'package' to be passed, which makes it more clear how it is being done
Diffstat (limited to 'manifests')
-rw-r--r--manifests/install.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
index 898cfea..1524de3 100644
--- a/manifests/install.pp
+++ b/manifests/install.pp
@@ -29,7 +29,7 @@ class bundler::install (
warning('$use_rvm is deprecated, please use $install_method instead')
}
- if $install_method == undef {
+ if ( $install_method == undef ) or ( $install_method == 'package' ) {
$provider_method = undef
}
else {