Permalink
Browse files

Removed rvm_prefix parameter as it isn't used anywhere

  • Loading branch information...
1 parent 729cdc7 commit c5e66e427e548501e9d0594f98156e059633327d Brandon Turner committed Aug 19, 2011
Showing with 3 additions and 11 deletions.
  1. +0 −6 lib/puppet/type/rvm_gem.rb
  2. +2 −3 manifests/classes/passenger-gem.pp
  3. +1 −2 manifests/classes/passenger.pp
@@ -135,10 +135,4 @@ def retrieve
isnamevar
end
- newparam(:rvm_prefix) do
- desc "The prefix to use for RVM."
-
- defaultto "/usr/local/"
- end
-
end
@@ -1,8 +1,7 @@
-class rvm::passenger::gem($ruby_version, $version, $rvm_prefix) {
+class rvm::passenger::gem($ruby_version, $version) {
rvm_gem {
"passenger":
ruby_version => $ruby_version,
ensure => $version,
- rvm_prefix => $rvm_prefix,
}
-}
+}
@@ -18,7 +18,6 @@
'rvm::passenger::gem':
ruby_version => $ruby_version,
version => $version,
- rvm_prefix => $rvm_prefix
}
# TODO: How can we get the gempath automatically using the ruby version
@@ -31,4 +30,4 @@
Ubuntu: { include rvm::passenger::apache::ubuntu::post }
CentOS: { include rvm::passenger::apache::centos::post }
}
-}
+}

0 comments on commit c5e66e4

Please sign in to comment.