Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

app (2) Versions 0.1.0

Installs/Configures a Rails app

Berkshelf/Librarian
Policyfile
Knife
cookbook 'app', '= 0.1.0'
cookbook 'app', '= 0.1.0', :supermarket
knife cookbook site install app
knife cookbook site download app
README
Dependencies
Quality

Description

A collection of Heavy Water Software Inc's evolving opinions on best practises for configuring and integrating a Rails application.

Requirements

A Rails application code repository that is configured to manage gem dependencies via Bundler.

Attributes

  • node["app"]["repository"] - Code to deploy (defaults to an example Rails 3.1 app)
  • node["db"]["adapter"] - Database such as postgresql, mysql, or sqlite3 (default)

Usage

Include "recipe[app::deploy]" in a run list to install an example Rails 3.1 application backed by a SQLite3 database.

If you're cloning a private repository add a deploy key at app/files/default/deploy_key_id_rsa

A more practical case might be to create an "app" role:

name "app"
description "My Rails app"

run_list [ "role[base]",
           "recipe[postgresql::server]",
           "recipe[app::deploy]" ]

default_attributes( "app" => {
                      "repository" => "git@github.com:me/myapp.git",
                      "use_deploy_key" => true },
                    "db" => {
                      "adapter" => "postgresql" } )

Dependent cookbooks

bluepill >= 0.0.0
nginx >= 0.0.0
imagemagick >= 0.0.0
xslt >= 0.0.0
xml >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found