# File lib/chef/provider/deploy.rb, line 222 def link_current_release_to_production Chef::Log.info "Linking release #{release_path} into production at #{@new_resource.current_path}" FileUtils.rm_f(@new_resource.current_path) FileUtils.ln_sf(release_path, @new_resource.current_path) enforce_ownership end