https://github.com/wbotelhos/chef-ruby
Ruby Cookbook for Chef
https://github.com/wbotelhos/chef-ruby
chef chef-cookbook cookbook ruby
Last synced: over 1 year ago
JSON representation
Ruby Cookbook for Chef
- Host: GitHub
- URL: https://github.com/wbotelhos/chef-ruby
- Owner: wbotelhos
- License: mit
- Created: 2018-03-02T07:19:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-25T02:14:11.000Z (over 7 years ago)
- Last Synced: 2025-01-28T03:18:55.449Z (over 1 year ago)
- Topics: chef, chef-cookbook, cookbook, ruby
- Language: Ruby
- Homepage: https://supermarket.chef.io/cookbooks/chef-ruby
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Ruby
[](https://supermarket.chef.io/cookbooks/chef-ruby)
[](https://www.patreon.com/wbotelhos)
Installs and configure Ruby.
## Config
- `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.
## Usage
#### Berkshelf
```ruby
source 'https://supermarket.chef.io'
cookbook 'chef-ruby'
```
#### Node
The following nodes is an example of the minimal needed to run correctly this cookbook:
```yml
{
"run_list": [
"recipe[chef-ruby]"
]
}
```
## Love it!
Via [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=X8HEP2878NDEG&item_name=chef-ruby) or [Patreon](https://www.patreon.com/wbotelhos). Thanks! (: