зеркало из https://github.com/mozilla/labs-vcap.git
Fix ruby installs, take 2
The current recipes seem to work with chef-solo version 0.10.4 but version 0.10.6+ needs unique names for the bash code blocks. Change-Id: I282abaad0f7a40ec2e7f0de1663da735e839104e
This commit is contained in:
Родитель
0450a4266f
Коммит
734c7bd77c
|
@ -22,7 +22,7 @@ module RubyInstall
|
|||
action :create
|
||||
end
|
||||
|
||||
bash "Install Ruby" do
|
||||
bash "Install Ruby #{ruby_path}" do
|
||||
cwd File.join("", "tmp")
|
||||
user node[:deployment][:user]
|
||||
code <<-EOH
|
||||
|
@ -43,7 +43,7 @@ module RubyInstall
|
|||
not_if { ::File.exists?(File.join("", "tmp", "rubygems-#{rubygems_version}.tgz")) }
|
||||
end
|
||||
|
||||
bash "Install RubyGems" do
|
||||
bash "Install RubyGems #{ruby_path}" do
|
||||
cwd File.join("", "tmp")
|
||||
user node[:deployment][:user]
|
||||
code <<-EOH
|
||||
|
|
Загрузка…
Ссылка в новой задаче