Skip to content

Commit

Permalink
Update 2013-06-11-using-capistrano-v3-with-chef.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
leehambley committed Mar 4, 2014
1 parent 8ec8f3b commit b033bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/2013-06-11-using-capistrano-v3-with-chef.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies of tasks, so we can do something like:
task :'upload-host-config' do
on roles(:all) do |host|
template_path = File.expand_path('chef-solo.rb.erb')
host_config = ERB.new(File.new(template_path).read).result(host)
host_config = ERB.new(File.new(template_path).read).result(binding)
upload! StringIO.new(host_config), '/tmp/chef-solo.rb'
end
end
Expand Down

0 comments on commit b033bcc

Please sign in to comment.