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


erlang (61) Versions 2.1

Installs erlang, optionally install GUI tools.

cookbook 'erlang', '= 2.1', :supermarket
cookbook 'erlang', '= 2.1'
knife supermarket install erlang
knife supermarket download erlang
Quality 100%

erlang Cookbook

Build Status Cookbook Version

Manages installation of Erlang via packages or source.



  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle


  • Chef 11+


  • yum
  • yum-epel
  • yum-erlang_solutions
  • 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 & Authors

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,
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

apt >= 1.7.0
yum ~> 3.0
yum-epel >= 0.0.0
yum-erlang_solutions >= 0.0.0
build-essential >= 0.0.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.

v2.1.0 (2016-03-29)

  • Install R16B03 Erlang releae by default
  • Update the Rubocop config and resolve warnings

v2.0.1 (2015-10-20)

  • Use https urls for downloads
  • Fix the computed attributes to behave correctly so you can override version and get a correct download URL
  • Added additional chefspecs
  • Added integration testing in Travis CI with kitchen docker
  • Fixed changelog typo
  • Update chefignore / .gitignore files

v2.0.0 (2015-10-20)

  • The minimum supported Chef release is now 11
  • Removed the workaround for Ubuntu 10.04 as 10.04 is no longer a supported platform
  • Added additional platforms to the metadata
  • Improved readme formatting
  • Added source_url and issues_url to the metadata
  • Add a .foodcritic file to ignore rules
  • Updated the gitignore file
  • Updated to more modern platforms in the Kitchen config
  • Added chefignore file
  • Added Chef standard rubocop config
  • Updated Travis CI testing to use the ChefDK for up to date deps
  • Removed duplicate deps from the Berksfile
  • Updated Gemfile with the latest testing deps
  • Updated testing and contributing docs
  • Added and maintainers.toml files
  • Added travis and cookbook version badges to the readme
  • Added a Rakefile for simplified testing
  • Added basic convergence Chefspec
  • Resolved Rubocop warnings

v1.5.8 (2015-04-20)

  • Use source, not site, for Berksfile
  • Lint fixes for rubocop and foodcritc
  • Move cloud specific kitchen config to
  • #29: fail the Chef run when attempting to use ESL on RHEL-family v5. The dependencies are not available, and blindly continuing leads to a broken state.
  • 29: Don't add Erlang Solutions yum repository in the "package" recipe
  • 29: Disable SSL verification of the EPEL repo in the "package" recipe due to an HTTP redirect bug in yum on RHEL -family 5.

v1.5.7 (2015-03-02)

  • 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

2.1 passed this metric