cookbook 'rubygems-update', '= 0.1.0'
rubygems-update (2) Versions 0.1.0 Follow0
updates rubygems package to the latest
cookbook 'rubygems-update', '= 0.1.0', :supermarket
knife supermarket install rubygems-update
knife supermarket download rubygems-update
rubygems-update
A small cookbook that helps you to update system's and chef-client's rubygems version as they a rarely updated via the system updates.
It was created to mitigate problems like that one: https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
How to use
This cookbook just runs gem update --system
for both system's and chef-client's embedded RubyGems setup.
Just add it to your run_list
: recipe[rubgems-update]
If you do not want either system or chef-client gem to be updated you can set attributes:
node['rubygems-update']['chef-client']['skip'] = true # or node['rubgems-update']['system']['skip'] = true
Or you can add only the desired recipe: recipe[rubgems-update::system]
/ recipe[rubgems-update::chef-client]
Supported platforms
Tested on:
- Ubuntu 16.04
- Debian 8
- Debian 9
- Centos 6
- Centos 7
- Fedora 26
- Fedora 27
TODO
- Run 'update' commands a bit rarer then during every chef run.
Sponsor
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
rubygems-update
0.1.0 (02-06-2018)
- Initial release.
License Metric
0.1.0 passed this metric
0.1.0 passed this metric