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

RSS

erlang (61) Versions 6.2.0

Installs erlang, optionally install GUI tools.

Policyfile
Berkshelf
Knife
cookbook 'erlang', '= 6.2.0', :supermarket
cookbook 'erlang', '= 6.2.0'
knife supermarket install erlang
knife supermarket download erlang
README
Dependencies
Changelog
Quality 100%

erlang Cookbook

Build Status Cookbook Version

Manages installation of Erlang via packages or source.

Requirements

Platforms

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

Chef

  • Chef 12.9+

Cookbooks

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

Attributes

  • 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']['package']['version'] - OS specific version of Erlang package to install
  • node['erlang']['package']['install_epel_repository'] - Boolean flag indicating whether EPEL yum repository should be installed (in which case Erlang packages may be retrieved from there).
  • node['erlang']['source']['version'] - Version of Erlang/OTP to install from 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).

Recipes

default

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

package

Installs Erlang from distribution packages.

source

Installs Erlang from source.

esl

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

License & Authors

Copyright 2011-2016, 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

    http://www.apache.org/licenses/LICENSE-2.0

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

yum-epel >= 0.0.0
yum-erlang_solutions >= 1.0.3
build-essential >= 5.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.

6.2.0 (2018-08-06)

  • Allow specifying a mirror of the ESL repository with new attributes

6.1.1 (2018-05-15)

  • Update kitchen configs
  • Update specs to the latest platform versions

6.1.0 (2018-05-14)

  • Use build_essential resource vs. recipe

6.0.0 (2018-02-16)

  • Require Chef 12.9+ and remove compat_resource dep
  • Testing improvements

5.1.0 (2017-04-04)

  • Add of a new attribute toggling EPEL repo installation.

4.1.1 (2017-03-01)

  • Fix packaging issue related to nox package on Ubuntu 16.04+
  • Cookstyle fixes
  • Loosen up the yum dependency

4.1.0 (2016-12-22)

  • Replace BATS tests with InSpec
  • Fix package and source installs for Fedora and openSUSE
  • Update source version to 19.2
  • Improved version check for source install guard

4.0.0 (2016-09-16)

  • Testing updates
  • Remove traces of minitest handler from the code
  • Require Chef 12.1+ and use multipackage for installs

v3.0.0 (2016-04-29)

  • Default to Erlang 18.3
  • Fix the download URL for erlang as it is not actually https
  • Fixed the not_if that prevented source installs unless the version was different to know the full string of the installed version instead of the major. This would prevent Chef from installing 18.3 over 18.2.
  • Added zlinux to the metadata
  • Don't include apt::default on Debian/Ubuntu systems as it's not necessary to setup a repository
  • Switch test-kitchen testing in Travis to kitchen-dokken as add Fedora, Debian, and Ubuntu 16.04 testing as well as source install testing

v2.1.1 (2016-03-29)

  • Fix bad version string in the metadata

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 maintainers.md 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 .kitchen.cloud.yml
  • #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 https://supermarket.chef.io
  • Update the CONTRIBUTING.md file with new URLs and information
  • Update copyright date and email addresses in README.md
  • 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

v1.4.2

COOK-4155, use a version in version conditional

v1.4.0

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

v1.3.6

fixing metadata version error. locking to 3.0

v1.3.4

Locking yum dependency to '< 3'

v1.3.2

New Feature

v1.3.0

  • Add support for Test Kitchen 1.0

Bug

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

Improvement

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

v1.2.0

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

v1.1.2

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

v1.1.0

  • [COOK-1782] - Add test kitchen support

v1.0.0

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

Collaborator Number Metric
            

6.2.0 passed this metric

Contributing File Metric
            

6.2.0 passed this metric

Foodcritic Metric
            

6.2.0 passed this metric

No Binaries Metric
            

6.2.0 passed this metric

Testing File Metric
            

6.2.0 passed this metric

Version Tag Metric
            

6.2.0 passed this metric