Skip to content

Commit

Permalink
Removed rvm_prefix parameter as it isn't used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Turner committed Aug 19, 2011
1 parent 729cdc7 commit c5e66e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 0 additions & 6 deletions lib/puppet/type/rvm_gem.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -135,10 +135,4 @@ def retrieve
isnamevar isnamevar
end end


newparam(:rvm_prefix) do
desc "The prefix to use for RVM."

defaultto "/usr/local/"
end

end end
5 changes: 2 additions & 3 deletions manifests/classes/passenger-gem.pp
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,7 @@
class rvm::passenger::gem($ruby_version, $version, $rvm_prefix) { class rvm::passenger::gem($ruby_version, $version) {
rvm_gem { rvm_gem {
"passenger": "passenger":
ruby_version => $ruby_version, ruby_version => $ruby_version,
ensure => $version, ensure => $version,
rvm_prefix => $rvm_prefix,
} }
} }
3 changes: 1 addition & 2 deletions manifests/classes/passenger.pp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
'rvm::passenger::gem': 'rvm::passenger::gem':
ruby_version => $ruby_version, ruby_version => $ruby_version,
version => $version, version => $version,
rvm_prefix => $rvm_prefix
} }


# TODO: How can we get the gempath automatically using the ruby version # TODO: How can we get the gempath automatically using the ruby version
Expand All @@ -31,4 +30,4 @@
Ubuntu: { include rvm::passenger::apache::ubuntu::post } Ubuntu: { include rvm::passenger::apache::ubuntu::post }
CentOS: { include rvm::passenger::apache::centos::post } CentOS: { include rvm::passenger::apache::centos::post }
} }
} }

0 comments on commit c5e66e4

Please sign in to comment.