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 Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

mongo_chef_gem (5) Versions 0.2.0

Provides the mongo_chef_gem resource

Berkshelf/Librarian
Policyfile
Knife
cookbook 'mongo_chef_gem', '= 0.2.0'
cookbook 'mongo_chef_gem', '= 0.2.0', :supermarket
knife cookbook site install mongo_chef_gem
knife cookbook site download mongo_chef_gem
README
Dependencies
Changelog
Quality 100%

Mongo Chef Gem Installer Cookbook

mongo_chef_gem is a library cookbook that provides an LWRP for use in recipes. It provides a wrapper around chef_gem called mongo_chef_gem that eases the installation process, collecting the prerequisites and side-stepping the compilation phase arms race.

Scope

This cookbook is concerned with the installation of the mongo Rubygem into Chef's gem path. Installation into other Ruby environments, or installation of related gems such as mongo are outside the scope of this cookbook.

Requirements

  • Chef 11 or higher
  • Ruby 1.9 (preferably from the Chef full-stack installer)

Usage

depends 'mongo_chef_gem', '~> 0.1.0'

Then, in a recipe:

mongo_chef_gem 'default' do
  action :install
end

Resources Overview

mongo_chef_gem

The mongo_chef_gem resource the build dependencies and installation of the mongo rubygem into Chef's Ruby environment

Example

mongo_chef_gem 'default' do
  mongo_version '2.1.2'
  bson_ext_version '1.12.4'
  action :install
end

Parameters

  • mongo_version - The version of the mongo Rubygem to install into the Chef environment. Defaults to last version.
  • bson_ext_version - The version of the bson_ext Rubygem to install into the Chef environment. Defaults to last version.

Actions

  • :install - Build and install the gem into the Chef environment
  • :remove - Delete the gem from the Chef environment

Authors

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

mongodb3-objects Applicable Versions

mongo_chef_gem CHANGELOG

0.1.0 (2015-11-13)

  • Initial release

Foodcritic Metric
            

0.2.0 passed this metric