11 lines
232 B
Ruby
11 lines
232 B
Ruby
role :app, %w{localhost}
|
|
role :web, %w{localhost}
|
|
role :db, %w{localhost}
|
|
|
|
user = fetch(:user)
|
|
|
|
server 'localhost', ssh_options: { port: 22, user: user, forward_agent: true }
|
|
|
|
set :tmp_dir, "/home/#{user}/tmp"
|
|
set :branch, 'master'
|