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

Select Status


errbit-server (10) Versions 0.1.1

Installs/Configures errbit-server

cookbook 'errbit-server', '= 0.1.1', :supermarket
cookbook 'errbit-server', '= 0.1.1'
knife supermarket install errbit-server
knife supermarket download errbit-server
Quality 0%

errbit-server Cookbook

Install and configures Errbit.


  • Ruby installation using rbenv and ruby_build
  • MongoDB installation
  • Unicorn service configuration(SysV or Upstart)
  • Checkout Errbit from Github

Inspired by chef-errbit.


This cookbook depends on these external cookbooks:

Tested with:

  • Chef 11.18.6
  • CentOS 6.6
  • Ubuntu 14.10
  • Vagrant 1.7.2
  • VirtualBox 4.3.26
  • Errbit (master on Apr 10, 2015)
  • Ruby 2.2.2


  • node['errbit']['user'] - system user for running Errbit Unicorn (default: errbit)
  • node['errbit']['group'] - system group for running Errbit Unicorn (default: errbit)
  • node['errbit']['ruby_version'] - MRI version to install using rbenv (default: 2.2.2)
  • node['errbit']['port'] - Listening port of Errbit service (default: 3000)
  • node['errbit']['revision'] - Errbit revision/refs to deploy (default: master)
  • node['errbit']['environment'] - Environment variables for Errbit. See also next section.


Override environments in errbit/.envrc

Please refer to Errbit documantation.

Default values in this recipe is changed only the following:


Errbit notifies watchers via email after the set number of occurances of the same error.

This env was changed to [0] in this recipe, this value means never send emails.

Original default is [1, 10, 100]


Notify each application's configured notification service after the set number of occurances
of the same error. [0] means notify on every occurance.

This env was changed to [1, 10, 100] in this recipe.

Original default is [0]


# Berksfile
cookbook "rbenv", git: ""
cookbook "errbit-server"
include_recipe "errbit-server::default"

After first deployment, initial admin user's password will be wrote out to /opt/errbit/bootstrap.out.

$ cat /opt/errbit/bootstrap.out
Seeding database
Creating an initial admin user:
-- email:
-- password: 3o0c6L_jf-mh

Be sure to note down these credentials now!

Visit to and login!

When you use Errbit in production env,
it is strongly recommended that deploy errbit service with the reverse proxy like nginx or ELB
in order to encrypt the connection.


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Author: Kawahara Taisuke (

Dependent cookbooks

git >= 0.0.0
ruby_build >= 0.0.0
mongodb >= 0.0.0
application >= 0.0.0
unicorn >= 0.0.0
service_factory >= 0.0.0
nodejs >= 0.0.0
logrotate >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

errbit-server CHANGELOG

This file is used to list changes made in each version of the errbit-server cookbook.


  • [kwhrtsk] - Initial release of errbit-server

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Foodcritic Metric

0.1.1 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/cf4e702feccbeac19201fdbf/errbit-server/recipes/bootstrap.rb:9
FC007: Ensure recipe dependencies are reflected in cookbook metadata: /tmp/cook/cf4e702feccbeac19201fdbf/errbit-server/recipes/rbenv.rb:10
FC046: Attribute assignment uses assign unless nil: /tmp/cook/cf4e702feccbeac19201fdbf/errbit-server/attributes/default.rb:44