Ruby Cookbook for Chef
Installs and configure Ruby.
node['chef-ruby']['source']['checksum']
: Checksum of the Ruby package.node['chef-ruby']['source']['dir']
: Directory where the Ruby will be installed.node['chef-ruby']['source']['extension']
: The extension type of the source file.node['chef-ruby']['source']['uri']
: URI for source donwload.node['chef-ruby']['source']['version']
: The Ruby version.
source 'https://supermarket.chef.io'
cookbook 'chef-ruby'
The following nodes is an example of the minimal needed to run correctly this cookbook:
{
"run_list": [
"recipe[chef-ruby]"
]
}