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:
Mahesh 2011-12-15 17:09:07 -08:00
Родитель 0450a4266f
Коммит 734c7bd77c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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