summaryrefslogtreecommitdiff
path: root/features/data/cookbooks/deploy/recipes/revision_rollback.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/data/cookbooks/deploy/recipes/revision_rollback.rb')
-rw-r--r--features/data/cookbooks/deploy/recipes/revision_rollback.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/features/data/cookbooks/deploy/recipes/revision_rollback.rb b/features/data/cookbooks/deploy/recipes/revision_rollback.rb
deleted file mode 100644
index faa39c2f42..0000000000
--- a/features/data/cookbooks/deploy/recipes/revision_rollback.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Cookbook Name:: deploy
-# Recipe:: default
-#
-# Copyright 2009, Opscode
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-deploy_revision "#{node[:tmpdir]}/deploy" do
- repo "#{node[:tmpdir]}/gitrepo/myapp/"
- environment "RAILS_ENV" => "production"
- revision "HEAD"
- action :rollback
- migration_command "rake db:migrate --trace"
- migrate true
- restart_command "touch tmp/restart.txt"
-end