# File lib/chef/provider/deploy.rb, line 208 def copy_cached_repo FileUtils.mkdir_p(@new_resource.deploy_to + "/releases") run_command(:command => "cp -RPp #{::File.join(@new_resource.destination, ".")} #{release_path}") Chef::Log.info "#{@new_resource} copied the cached checkout to #{release_path}" release_created(release_path) end