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


erlang (39) Versions 1.5.7

Installs erlang, optionally install GUI tools.

cookbook 'erlang', '= 1.5.7'
cookbook 'erlang', '= 1.5.7', :supermarket
knife supermarket install erlang
knife supermarket download erlang
Quality 0%


Manages installation of Erlang via packages or source.



Chef version 0.10.10+ and Ohai 0.6.12+ are required


Tested on:

  • Ubuntu 10.04, 11.10, 12.04
  • Red Hat Enterprise Linux (CentOS/Amazon/Scientific/Oracle) 5.7, 6.2

Notes: This cookbook has been tested on the listed platforms. It may work on other platforms with or without modification.


  • yum (for epel recipe)
  • build-essential (for source compilation)


  • node['erlang']['gui_tools'] - whether to install the GUI tools for Erlang.
  • node['erlang']['install_method'] - Erlang installation method ("package", "source", or "esl" (for Erlang Solutions packages)).
  • node['erlang']['source']['version'] - Version of Erlang/OTP to install from source. "source")
  • node['erlang']['source']['url'] - URL of Erlang/OTP source tarball.
  • node['erlang']['source']['checksum'] - Checksum of the Erlang/OTP source tarball.
  • node['erlang']['source']['build_flags'] - Build flags for compiling Erlang/OTP.
  • node['erlang']['source']['cflags'] - CFLAGS for configuring Erlang/OTP.
  • node['erlang']['esl']['version'] - version specifier for Erlang Solutions packages.
  • node['erlang']['esl']['lsb_codename'] - override the code name used for ESL packages, useful for installing the packages on distributions that they don't make specific packages available (e.g., maverick vs precise).



Manages installation of Erlang. Includes the package or source recipe depending on the value of node['erlang']['install_method'].


Installs Erlang from distribution packages.


Installs Erlang from source.


Adds Erlang Solutions' package repositories on Debian, CentOS (> 5), and Fedora systems, and installs the esl-erlang package.

License and Author

Copyright 2011-2015, Chef Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

build-essential >= 0.0.0
yum-erlang_solutions >= 0.0.0
yum-epel >= 0.0.0
yum ~> 3.0
apt >= 1.7.0

Contingent cookbooks

chef-rebar3 Applicable Versions
chef-server Applicable Versions
couchdb Applicable Versions
dynomite Applicable Versions
elixir Applicable Versions
ernie Applicable Versions
jabber Applicable Versions
rabbitmq Applicable Versions
rabbitmq_chef Applicable Versions
riak Applicable Versions
taurus Applicable Versions
wombat-oam Applicable Versions
zotonic Applicable Versions

erlang Cookbook CHANGELOG

This file is used to list changes made in each version of the erlang cookbook.


  • Update Berksfile to use
  • Update the file with new URLs and information
  • Update copyright date and email addresses in
  • Change 'Opscode, Inc.' to 'Chef Software, Inc.' where appropriate
  • #24 - Add yum-epel recipe to install prereqs for erlang.

v1.5.6 (2014-07-29)

16 - Allow for systems with that do not have lsb installed

v1.5.4 (2014-04-30)

  • [COOK-4610] - New APT repository for ESL

v1.5.2 (2014-03-18)

  • [COOK-4296] Add an attribute for passing CFLAGS prior to compilation

v1.5.0 (2014-02-25)

[COOK-4296] - Add custom build flags when building from source


COOK-4155, use a version in version conditional


Porting to use cookbook yum ~> 3.0 Moving tests from minitest to bats Fixing style against rubocop


fixing metadata version error. locking to 3.0


Locking yum dependency to '< 3'


New Feature


  • Add support for Test Kitchen 1.0


  • [COOK-2595]: erlang cookbook now incorrectly depends on apt <= 1.7.0
  • [COOK-2894]: erlang::esl uses nil attribute


  • [COOK-2509]: Add support for installing Erlang/OTP from Erlang Solutions' repositories


  • [COOK-2287] - Add support for installing Erlang from source


  • [COOK-1215] - Support Amazon Linux in erlang cookbook
  • [COOK-1884] - Erlang Readme does not reflect cookbook requirements


  • [COOK-1782] - Add test kitchen support


  • [COOK-905] - Fix installation on RHEL/CentOS 6+

Foodcritic Metric

1.5.7 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/c2f68f1058eeeb6d2cff3481/erlang/recipes/esl.rb:57
FC031: Cookbook without metadata file: /tmp/cook/c2f68f1058eeeb6d2cff3481/erlang/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/c2f68f1058eeeb6d2cff3481/erlang/metadata.rb:1