Skip to content
rebar3 chef cookbook
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.delivery
attributes
recipes
spec
test/integration/default
.gitignore
.kitchen.yml
Berksfile
CHANGELOG.md
LICENSE
README.md
chefignore
metadata.rb

README.md

chef-rebar3

Cookbook Version

Manages installation of Rebar3.

Requirements

Platforms

  • CentOS
  • Debian
  • Fedora
  • openSUSE
  • Ubuntu

Chef

  • Chef 12.14+

Cookbooks

  • erlang
    • build-essential
    • mingw
    • seven_zip
    • windows
    • yum-epel
    • yum-erlang_solutions

Usage

Add chef-rebar3::default or chef-rebar3::rebar3 to your run_list OR add depends 'chef-rebar3', '0.0.1' to your cookbook's metadata.rb and include_recipe one of the recipes from this cookbook.

Recipes

  • chef-rebar3::default includes chef-rebar3::rebar3 and nothing else.
  • chef-rebar3::rebar3 installs Git and Erlang, downloads the Rebar3 sources and bootstraps them. The resulting executable is deposited in /usr/local/bin.

Attributes

Rebar3 Attributes

  • node['rebar3']['version'] The Rebar3 version to install. Defaults to '3.5.3'.

Erlang Attributes

A number of attributes are inherited from the erlang cookbook. Notably, this cookbook overrides the following three attributes:

  • node['erlang']['install_method'] The Erlang installation method. Set to source. Alternatively, this attribute can be set to package and esl.
  • node['erlang']['source']['version'] The Erlang version. Set to 20.3.
  • node['erlang']['source']['checksum'] The sha256 checksum of the tarball located on the official Erlang website.

Integration Tests

Run the integration tests by entering

kitchen verify

Authors

License

Apache 2.0

You can’t perform that action at this time.