# File lib/chef/provider/deploy.rb, line 61 def action_deploy if all_releases.include?(release_path) if all_releases[-1] == release_path Chef::Log.debug("#{@new_resource} is the latest version") else action_rollback end else deploy @new_resource.updated_by_last_action(true) end end