Skip to content

Configures and deploys a sinatra app. Confirmed to work with Amazon OpsWorks

Notifications You must be signed in to change notification settings

crowdmob/chef-sinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef Cookbook for a Sinatra Web App

Configures and deploys a sinatra app. Confirmed to work with Amazon OpsWorks.

Recipes

  • sinatra::configure -- one time, makes all the deploy folders
  • sinatra::deploy -- uses scm to update the codebase, bundle installs, and restarts the server

Required Databag

{
  "service_realm": "production",
  "web_application_type": "sinatra",
  "opsworks_bundler": { "version": "1.3.5", "manage_package": true },
  "opsworks_rubygems": { "version": "2.0.3" },
  "opsworks": {
    "rack_stack": { "name": "nginx_unicorn", "recipe": "unicorn::rack", "service": "unicorn" },
    "ruby_stack": "ruby"
  },
  "deploy": {
    "MYAPPNAME": {
      "application_type": "sinatra",
      "rack_env": "production",
      "environment": {
        "rack_env": "production"
      },
      "env": {
        "MY_ENV_X": "..."
      }
    }
  }
}

Dependencies

Optional Dependencies

About

Configures and deploys a sinatra app. Confirmed to work with Amazon OpsWorks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages