Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2095b50c38
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 36 lines (33 sloc) 0.753 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Dir.glob(File.join(File.dirname(__FILE__), 'packages/*.rb')).each { |f| require f }
IP = ARGV.first

policy :setup, :roles => :app do
  requires :apt_base
  requires :ssh_keys
  requires :deploy
  requires :capistrano_dirs
  requires :htop
  requires :git
  requires :ruby_enterprise
  requires :nginx_with_passenger
  requires :nginx_conf
  requires :logrotate_app
  requires :sqlite3
  requires :bundler
  requires :libmysql
  requires :memcached
  requires :monit_base
  requires :monit_nginx
  requires :monit_memcached
  requires :monit_start
end

deployment do
  delivery :capistrano do
    set :user, 'root'
    role :app, IP
  end

  source do
    prefix '/usr/local'
    archives '/usr/local/sources'
    builds '/usr/local/build'
  end
end
Something went wrong with that request. Please try again.