cookbook 'br-ruby', '~> 0.5.2'
br-ruby (5) Versions 0.5.2 Follow3
Installs Ruby versions
cookbook 'br-ruby', '~> 0.5.2', :supermarket
knife supermarket install br-ruby
knife supermarket download br-ruby
Ruby Cookbook
Installs and manages Ruby versions
Overview
This cookbook is designed to provide consumers with a simple solution to add and remove Ruby versions from server or application nodes.
Required configuration has been kept to a minimum, so the only attribute you need to provide to get started is ruby
/versions
.
Note: Built by Robots is committed to maintaining a simple, robust set of cookbooks that can be used to deploy Ruby web applications in an enterprise setting. These open source projects will be humanely maintained and will not abrutly lose support. Any future transitions of ownership or deprecation will be handled with clear communication and plenty of advance notice.
Recipes
br-ruby::default
Runs install
and clean
recipes.
br-ruby::install
Installs Ruby versions listed in versions
.
br-ruby::clean
Removes Ruby versions not listed in versions
.
Attributes
Key | Type | Description |
---|---|---|
ruby /versions
|
Array of Strings |
List of versions to install |
ruby /install_path
|
String |
Directory where versions are installed |
ruby /owner
|
String |
Owner of installed files |
ruby /group
|
String |
Group of installed files |
ruby /mode
|
String |
Mode of installed files |
ruby /dependencies
|
Array of Strings |
Packages needed to install Ruby |
[default values](attributes/default.rb)
Examples
Role
{ "name": "example", "chef_type": "role", "json_class": "Chef::Role", "description": "Example Role", "run_list": ["recipe[br-ruby::default]"], "default_attributes": { "ruby": { "versions": ["2.2.3", "2.1.7"] } } }
Maintainers
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.5.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.5.2 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.5.2 failed this metric
FC016: LWRP does not declare a default action: br-ruby/resources/ruby_build.rb:1
FC016: LWRP does not declare a default action: br-ruby/resources/ruby_runtime.rb:1
FC022: Resource condition within loop may not behave as expected: br-ruby/recipes/clean.rb:9
FC064: Ensure issues_url is set in metadata: br-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: br-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: br-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.2 passed this metric
Testing File Metric
0.5.2 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.5.2 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.5.2 failed this metric
0.5.2 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.5.2 failed this metric
FC016: LWRP does not declare a default action: br-ruby/resources/ruby_build.rb:1
FC016: LWRP does not declare a default action: br-ruby/resources/ruby_runtime.rb:1
FC022: Resource condition within loop may not behave as expected: br-ruby/recipes/clean.rb:9
FC064: Ensure issues_url is set in metadata: br-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: br-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: br-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.5.2 passed this metric
Testing File Metric
0.5.2 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.5.2 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.5.2 failed this metric
FC016: LWRP does not declare a default action: br-ruby/resources/ruby_runtime.rb:1
FC022: Resource condition within loop may not behave as expected: br-ruby/recipes/clean.rb:9
FC064: Ensure issues_url is set in metadata: br-ruby/metadata.rb:1
FC066: Ensure chef_version is set in metadata: br-ruby/metadata.rb:1
FC069: Ensure standardized license defined in metadata: br-ruby/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.5.2 passed this metric
Testing File Metric
0.5.2 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.5.2 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.5.2 failed this metric
0.5.2 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