/chef-template

Chef Solo config for management servers with Ruby/Rack based applications

Primary LanguageRuby

chef-template

Chef Solo config for management servers with Ruby/Rack based applications

Tutorial

Using Chef and Capistrano to deploy a Rails application on Ubuntu 16.04

Stack

  • Ubuntu 16.04
  • PostgreSQL
  • Redis
  • Monit
  • RVM
  • Node.js
  • Nginx
  • Ncdu

Usage

Insert machine IP into next files:

nginx

nginx

node

cp nodes/machine.ip.json nodes/my_new_node.json

Replace passwords into base role and run:

bundle exec knife solo bootstrap root@ip nodes/my_new_node.json