set :deploy_to, deploysecret(:deploy_to)
set :server_name, deploysecret(:server_name)
set :db_server, deploysecret(:db_server)
set :branch, ENV['branch'] || :master
set :ssh_options, port: deploysecret(:ssh_port)
set :stage, :preproduction
set :rails_env, :preproduction

server deploysecret(:server1), user: deploysecret(:user), roles: %w(web app db importer cron)
server deploysecret(:server2), user: deploysecret(:user), roles: %w(web app db importer)
