New Supermarket Announcements!

The Chef Community Cookbooks Survey

We would love to know more about what you think about community cookbooks and are runnning a quick survey. This will help us understand the role they play in your use of Chef. As a community member, you are invited to participate. You have a unique understanding of the role community cookbooks have in your work, and we value your opinion. Most people take about 5 minutes to complete this survey. There are no right or wrong answers; we are interested in your opinions.
Chef Community Cookbooks Survey

Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the supermarket mailing list or in Gitter.

Select Supported Platforms

RSS

chef_gem (6) Versions 0.1.0

Provides proper chef_gem resource support for Chef versions < 0.10.12

Berkshelf
Librarian
Knife
cookbook 'chef_gem', '~> 0.1.0'
cookbook 'chef_gem', '~> 0.1.0'
knife cookbook site install chef_gem
knife cookbook site download chef_gem
README
Dependencies

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