public
Description: Remote multi-server automation tool
Homepage: http://www.capify.org
Clone URL: git://github.com/jamis/capistrano.git
capistrano / examples / sample.rb
100644 15 lines (12 sloc) 0.36 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# set :user, "flippy"
# set :password, "hello-flippy"
# set :gateway, "gateway.example.com"
 
role :web, "web1.example.com"
role :app, "app1.example.com", "app2.example.com"
 
desc <<-DESC
This is a sample task. It is only intended to be used as a demonstration of \
how you can define your own tasks.
DESC
task :sample_task, :roles => :app do
  run "ls -l"
end