# 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("Already deployed app at #{release_path}, and it is the latest revision. Use action :force_deploy to re-deploy this revision.") else Chef::Log.info("Already deployed app at #{release_path}. Rolling back to it - use action :force_deploy to re-checkout this revision.") action_rollback end else deploy @new_resource.updated_by_last_action(true) end end