2.4 KiB
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']['esl']['version']
- version specifier for Erlang Solutions packages.
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
- Author: Joe Williams (joe@joetify.com)
- Author: Joshua Timberman (joshua@opscode.com)
- Author: Matt Ray (matt@opscode.com)
- Author: Hector Castro (hector@basho.com)
- Author: Christopher Maier (cm@opscode.com)
Copyright 2011-2013, Opscode, 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.