coderanger/cookbooks — comment on commit 059efa12f9302a2788c3b2ae13fd38f2a958a2c3
File: application/providers/default.rb line 53
By andreacampi:

BTW, I realize you just kept this as it was, but for some reason it kept failing on me.
Why not rewrite this ruby_block, and the following file, as:

file "#{new_resource.path}/id_deploy" do
content new_resource.deploy_key
owner new_resource.owner
group new_resource.group
mode '0600'
end