cookbook 'chef_gem', '~> 0.1.0'
chef_gem (6) Versions 0.1.0 Follow16
Provides proper chef_gem resource support for Chef versions < 0.10.12
cookbook 'chef_gem', '~> 0.1.0', :supermarket
knife supermarket install chef_gem
knife supermarket download chef_gem
ChefGem
This cookbook is a transition cookbook aimed at helping move from the
pre-chef_gem era to the post chef_gem era. The chef_gem resource was
introducde in Chef 0.10.9, providing an easy mechanism for installing
and using gems required by Chef internally. When used within an omnibus
installation, chef_gems are installed within the embedded Ruby.
What this cookbook provides
For pre 0.10.9 Chef installations, it provides a chef_gem compatible resouce
allowing cookbooks to be updated but not requiring full conversions. For installations
under 0.10.12, some patches are added to aid in proper omnibus functionality allowing
chef_gem to work as expected. For Chef installations of 0.10.12 and beyond, this
cookbook provides nothing. This means you will get consistent and expected behavior
across Chef versions.
Configuration
Notable attributes (note that these should only be required for special cases):
node[:gem_binary] = '/usr/local/bin/gem'
node[:chef_gem_binary] = '/opt/opscode/embedded/bin/gem'
Notes
With the release of 0.10.12 this cookbook should be considered deprecated and used
only for compatibility with older installations.
Repository
- https://github.com/hw-cookbooks/chef_gem
- IRC: Freenode @ #heavywater
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.1.0 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.0 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.0 failed this metric
FC064: Ensure issues_url is set in metadata: chef_gem/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef_gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef_gem/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef_gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef_gem/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.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
0.1.0 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.0 failed this metric
FC064: Ensure issues_url is set in metadata: chef_gem/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef_gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef_gem/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef_gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef_gem/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.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
FC065: Ensure source_url is set in metadata: chef_gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef_gem/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: chef_gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef_gem/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 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.0 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.0 failed this metric
0.1.0 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