cookbook 'chef-rebar3', '~> 0.1.0'
chef-rebar3 (1) Versions 0.1.0 Follow0
Installs/Configures rebar3
cookbook 'chef-rebar3', '~> 0.1.0', :supermarket
knife supermarket install chef-rebar3
knife supermarket download chef-rebar3
chef-rebar3
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
includeschef-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 tosource
. Alternatively, this attribute can be set topackage
andesl
. -
node['erlang']['source']['version']
The Erlang version. Set to20.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
- Jörgen Brandt (@joergen7) joergen.brandt@onlinehome.de
License
chef-rebar3 CHANGELOG
This file is used to list changes made in each version of the chef-rebar3 cookbook.
0.1.0
Initial release.
- change 0
- change 1
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC067: Ensure at least one platform supported in metadata: chef-rebar3/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-rebar3/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.0 failed this metric
FC067: Ensure at least one platform supported in metadata: chef-rebar3/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-rebar3/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
FC069: Ensure standardized license defined in metadata: chef-rebar3/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.0 failed this metric
0.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number