    # File lib/chef/provider/deploy.rb, line 117
          def deploy
            enforce_ownership
            verify_directories_exist
            update_cached_repo
            copy_cached_repo
            install_gems
            enforce_ownership
            callback(:before_migrate, @new_resource.before_migrate)
            migrate
            callback(:before_symlink, @new_resource.before_symlink)
            symlink
            callback(:before_restart, @new_resource.before_restart)
            restart
            callback(:after_restart, @new_resource.after_restart)
            cleanup!
            Chef::Log.info "#{@new_resource} deployed to #{@new_resource.deploy_to}"
          end