README.md 4.52 KB
Newer Older
Tim Smith's avatar
Tim Smith committed
1
# erlang Cookbook
2

Lance Albertson's avatar
Lance Albertson committed
3 4 5 6 7
[![Cookbook Version](https://img.shields.io/cookbook/v/erlang.svg)](https://supermarket.chef.io/cookbooks/erlang)
[![CI State](https://github.com/sous-chefs/erlang/workflows/ci/badge.svg)](https://github.com/sous-chefs/erlang/actions?query=workflow%3Aci)
[![OpenCollective](https://opencollective.com/sous-chefs/backers/badge.svg)](#backers)
[![OpenCollective](https://opencollective.com/sous-chefs/sponsors/badge.svg)](#sponsors)
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
jtimberman's avatar
jtimberman committed
8

9
Manages installation of Erlang via packages or source.
10

Lance Albertson's avatar
Lance Albertson committed
11 12 13 14
## Maintainers

This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).

Tim Smith's avatar
Tim Smith committed
15
## Requirements
16

Tim Smith's avatar
Tim Smith committed
17
### Platforms
18

19 20
- Debian/Ubuntu 16.04+
- RHEL/CentOS/Scientific/Amazon/Oracle 6+
Seth Thomas's avatar
Seth Thomas committed
21 22
- Fedora
- openSUSE
jtimberman's avatar
jtimberman committed
23

Tim Smith's avatar
Tim Smith committed
24
### Chef
25

26
- Chef 14+
27

Tim Smith's avatar
Tim Smith committed
28
### Cookbooks
29

Tim Smith's avatar
Tim Smith committed
30 31 32 33
- yum-epel
- yum-erlang_solutions

## Attributes
34

Tim Smith's avatar
Tim Smith committed
35
- `node['erlang']['install_method']` - Erlang installation method ("package", "source", or "esl" (for Erlang Solutions packages)).
Seth Thomas's avatar
Seth Thomas committed
36
- `node['erlang']['package']['version']` - OS specific version of Erlang package to install
37
- `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).
Tim Smith's avatar
Tim Smith committed
38 39 40 41 42
- `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.
Tim Smith's avatar
Tim Smith committed
43 44
- `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).
Tim Smith's avatar
Tim Smith committed
45 46

## Recipes
47

Tim Smith's avatar
Tim Smith committed
48
### default
49

Tim Smith's avatar
Tim Smith committed
50
Manages installation of Erlang. Includes the package or source recipe depending on the value of `node['erlang']['install_method']`.
jtimberman's avatar
jtimberman committed
51

Tim Smith's avatar
Tim Smith committed
52
### package
53

jtimberman's avatar
jtimberman committed
54 55
Installs Erlang from distribution packages.

Tim Smith's avatar
Tim Smith committed
56
### source
57

jtimberman's avatar
jtimberman committed
58
Installs Erlang from source.
59

Tim Smith's avatar
Tim Smith committed
60
### esl
61

62
Adds Erlang Solutions' [package repositories] on Debian, CentOS, and Ubuntu systems, and installs the `esl-erlang` package.
63

Lance Albertson's avatar
Lance Albertson committed
64 65 66
[package repositories]: https://www.erlang-solutions.com/downloads/download-erlang-otp

## Contributors
67

Lance Albertson's avatar
Lance Albertson committed
68
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
Tim Smith's avatar
Tim Smith committed
69

Lance Albertson's avatar
Lance Albertson committed
70
### Backers
71

Lance Albertson's avatar
Lance Albertson committed
72
Thank you to all our backers!
73

Lance Albertson's avatar
Lance Albertson committed
74
![https://opencollective.com/sous-chefs#backers](https://opencollective.com/sous-chefs/backers.svg?width=600&avatarHeight=40)
75

Lance Albertson's avatar
Lance Albertson committed
76
### Sponsors
Tim Smith's avatar
Tim Smith committed
77

Lance Albertson's avatar
Lance Albertson committed
78 79 80 81 82 83 84 85 86 87 88 89
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

![https://opencollective.com/sous-chefs/sponsor/0/website](https://opencollective.com/sous-chefs/sponsor/0/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/1/website](https://opencollective.com/sous-chefs/sponsor/1/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/2/website](https://opencollective.com/sous-chefs/sponsor/2/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/3/website](https://opencollective.com/sous-chefs/sponsor/3/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/4/website](https://opencollective.com/sous-chefs/sponsor/4/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/5/website](https://opencollective.com/sous-chefs/sponsor/5/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/6/website](https://opencollective.com/sous-chefs/sponsor/6/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/7/website](https://opencollective.com/sous-chefs/sponsor/7/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/8/website](https://opencollective.com/sous-chefs/sponsor/8/avatar.svg?avatarHeight=100)
![https://opencollective.com/sous-chefs/sponsor/9/website](https://opencollective.com/sous-chefs/sponsor/9/avatar.svg?avatarHeight=100)