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 1.5.7

Installs erlang, optionally install GUI tools.

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

Description

Manages installation of Erlang via packages or source.

Requirements

Chef

Chef version 0.10.10+ and Ohai 0.6.12+ are required

Platform

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.

Cookbooks

  • yum (for epel recipe)
  • 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']['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).

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.

erlang_solutions

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

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

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.

v1.5.7 (UNRELEASED)

  • 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+

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