cookbook 'gem_installer', '~> 0.1.2'
gem_installer (3) Versions 0.1.2 Follow2
Installs/Update Ruby Gems
cookbook 'gem_installer', '~> 0.1.2', :supermarket
knife supermarket install gem_installer
knife supermarket download gem_installer
Gem Installer
Simple cookbook for managing gem versions on a node.
Usage
Attributes
Define gems (and optionally version restrictions) within the role:
override_attributes( :gem_installer => { :gems => { 'pg' => nil, 'activerecord' => '~> 3.0.0', 'ssmtp' => nil } } )
Chef Gems
Managing chef gems works in just same way, but by using the :chef_gems key
instead of :gems
override_attributes( :gem_installer => { :chef_gems => { 'pg' => nil } } )
Backwards Compatibility
Use the [chef_gem]{http://community.opscode.com/cookbooks/chef_gem} cookbook to
maintain compatibility on node running Chef pre 0.10.9
Issues/Bugs/Feature Requests
Create a github issue or fork, fix and send me a pull request
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.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.1.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.1.2 failed this metric
FC052: Metadata uses the deprecated "suggests" keyword: gem_installer/metadata.rb:8
FC064: Ensure issues_url is set in metadata: gem_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: gem_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gem_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gem_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gem_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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.1.2 failed this metric
0.1.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.1.2 failed this metric
FC052: Metadata uses the deprecated "suggests" keyword: gem_installer/metadata.rb:8
FC064: Ensure issues_url is set in metadata: gem_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: gem_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gem_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gem_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gem_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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.1.2 failed this metric
FC064: Ensure issues_url is set in metadata: gem_installer/metadata.rb:1
FC065: Ensure source_url is set in metadata: gem_installer/metadata.rb:1
FC066: Ensure chef_version is set in metadata: gem_installer/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: gem_installer/metadata.rb:1
FC069: Ensure standardized license defined in metadata: gem_installer/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.2 passed this metric
Testing File Metric
0.1.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.1.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.1.2 failed this metric
0.1.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