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


L7-mongo (13) Versions 1.0.10

Installs/Configures mongodb, multi instance support

cookbook 'L7-mongo', '= 1.0.10'
cookbook 'L7-mongo', '= 1.0.10', :supermarket
knife cookbook site install L7-mongo
knife cookbook site download L7-mongo
Quality 0%

L7-mongo cookbook

Build Status security Cookbook Version


Configures Mongodb via Opscode Chef

It can handle multiple instances with different configuratioins and differend versions on the same machine.

Please note that this cookbook does not use the 10gen apt repository, and instead downloads the required binaries from a given server.

Supported Platforms

  • Ubuntu 12.04+
  • Debian 7.0+


  • L7-mongo - The default no-op recipe.


  • L7_mongo_db - Configures mongodb instance


Provider parameters:

  • url: url for mongodb binary tgz (default:
  • home: directory for mongodb instance (default "/opt")
  • bind_ip: listen address (default "")
  • port: listen port (default 27017)
  • default_instance: creates symlink (default false)
  • replSet: replica set name (default not set)
  • smallfiles: use smallfile allocation (default false)
  • journal: use durable journaling (default true)
  • notablescan: disables queries using fts (default true)
  • rest: enable rest interface for monitoring (default true)
  • httpinterface: enable http interface (default true)
  • auth: enable authentication (default false)

A mongodb instance with custom parameters:

L7_mongo_db 'example' do
    port '27017'
    bind_ip ''
    default_instance true


Implement sharded cluster support.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


  • Freely distributable and licensed under the MIT license.
  • Copyright (c) 2015 Gabor Szelcsanyi


Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

1.0.10 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/a0eb3ca315119420c6ca7e00/L7-mongo/providers/db.rb:11
FC023: Prefer conditional attributes: /tmp/cook/a0eb3ca315119420c6ca7e00/L7-mongo/providers/db.rb:189