cookbook 'ruby_installer', '~> 0.1.3', :supermarket
ruby_installer (4) Versions 0.1.3 Follow7
Installs ruby
cookbook 'ruby_installer', '~> 0.1.3'
knife supermarket install ruby_installer
knife supermarket download ruby_installer
RubyInstaller
This cookbook provides Ruby installation from a variety of places. It also handles ohai reloading to ensure proper ruby/gem usage.
Usage
knife node run_list add my.node recipe[ruby_installer]
By default it will install ruby packages and generally defaults to 1.8. You can override that by providing the package names you want installed via attributes.
Configurable attributes
- `default[:ruby_installer][:method] = 'package' # package/ree/source
default[:ruby_installer][:package_name] = true # apt package name
default[:ruby_installer][:rubygem_package] = true # install rubygems package
default[:ruby_installer][:rubydev_package] = true # install ruby development libs
default[:ruby_installer][:source_version] = nil # source version
default[:ruby_installer][:source_package_dependencies] = [] # package dependencies for building from source
default[:ruby_installer][:ree_url] = 'http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2012.02_amd64_ubuntu10.04.deb' # URI for REE deb package
default[:ruby_installer][:ree_source_url] = 'http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2012.02.tar.gz' # URI for REE source
Repository
https://github.com/heavywater/chef-ruby_installer
Contributors
- Graham McIntire - https://github.com/gmcintire
v0.1.3
- Corrections for iconv-dev and rhel/centos
- Cookbook admin support for emeril
- Basic Kitchen.ci support
v0.1.2
- Add attribute based package removal
v0.1.0
- Adds source install method
- Adds rubygems install method
v0.0.1
- Initial release
Collaborator Number Metric
0.1.3 passed this metric
Contributing File Metric
0.1.3 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.3 failed this metric
FC043: Prefer new notification syntax: ruby_installer/recipes/package.rb:47
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:8
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:49
FC043: Prefer new notification syntax: ruby_installer/recipes/source.rb:7
FC064: Ensure issues_url is set in metadata: ruby_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: ruby_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ruby_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ruby_installer/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/ree.rb:22
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/source.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.3 passed this metric
Publish Metric
0.1.3 passed this metric
Supported Platforms Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 passed this metric
0.1.3 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.3 failed this metric
FC043: Prefer new notification syntax: ruby_installer/recipes/package.rb:47
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:8
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:49
FC043: Prefer new notification syntax: ruby_installer/recipes/source.rb:7
FC064: Ensure issues_url is set in metadata: ruby_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: ruby_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ruby_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ruby_installer/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/ree.rb:22
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/source.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.3 passed this metric
Publish Metric
0.1.3 passed this metric
Supported Platforms Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 failed this metric
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:8
FC043: Prefer new notification syntax: ruby_installer/recipes/ree.rb:49
FC043: Prefer new notification syntax: ruby_installer/recipes/source.rb:7
FC064: Ensure issues_url is set in metadata: ruby_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: ruby_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ruby_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ruby_installer/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/ree.rb:22
FC122: Use the build_essential resource instead of the recipe: ruby_installer/recipes/source.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.3 passed this metric
Publish Metric
0.1.3 passed this metric
Supported Platforms Metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 passed this metric
0.1.3 passed this metric
Testing File Metric
0.1.3 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.3 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.3 failed this metric
0.1.3 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