Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 3.12 KB

README.md

File metadata and controls

83 lines (56 loc) · 3.12 KB

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.1+

Cookbooks

  • compat_resource
  • 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.