Class: Chef
- Inherits:
-
Object
- Object
- Chef
- Defined in:
- lib/chef-deploy.rb
Overview
deploy “/data/#app” do
repo "git://github.com/engineyard/rack-app.git"
branch "HEAD"
user "ez"
enable_submodules true
migrate true
migration_command "rake db:migrate"
environment "production"
shallow_clone true
action :deploy # or :rollback
restart_command "touch tmp/restart.txt"
end