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

Select Status

RSS

cloudfoundry-mongodb-service (7) Versions 1.0.0

Installs/Configures cloudfoundry-mongodb-service

Policyfile
Berkshelf
Knife
cookbook 'cloudfoundry-mongodb-service', '= 1.0.0', :supermarket
cookbook 'cloudfoundry-mongodb-service', '= 1.0.0'
knife supermarket install cloudfoundry-mongodb-service
knife supermarket download cloudfoundry-mongodb-service
README
Dependencies
Quality -%

Description

Install a Cloud Foundry MongoDB gateway or node, optional components of a
Cloud Foundry installation.

Requirements

Cookbooks

  • cloudfoundry
  • cloudfoundry_service
  • mongodb
  • rbenv

Platform

  • Ubuntu

Tested on:

  • Ubuntu 10.04
  • Ubuntu 12.04

Attributes

gateway

node['cloudfoundry_mongodb_service']['gateway']['log_level'] - Log level for
the service gateway daemon. Defaults to info.
node['cloudfoundry_mongodb_service']['gateway']['node_timeout'] - Time out
fo talking to a service node. Defaults to 30.
node['cloudfoundry_mongodb_service']['gateway']['timeout'] - Time out for
completing (de)provisioning requests. Defaults to 15.
node['cloudfoundry_mongodb_service']['gateway']['version_aliases'] -
Human-readable aliases for MongoDB versions.

node

node['cloudfoundry_mongodb_service']['node']['log_level'] - Log level for
the service node daemon. Defaults to info.
node['cloudfoundry_mongodb_service']['node']['index'] - Unique instance
info; should be cofigured to be different between nodes. Defaults to 0.
node['cloudfoundry_mongodb_service']['node']['capacity'] - Maximum number
of service instances for this node. Defaults to 200.
node['cloudfoundry_mongodb_service']['node']['port_range']['first'] -
The lower end of a range of ports that can be used for services nodes.
Defaults to 25001.
node['cloudfoundry_mongodb_service']['node']['port_range']['last'] -
The higher end of a range of ports that can be used for services nodes.
Defaults to 45000.
node['cloudfoundry_mongodb_service']['node']['migration_nfs'] - Path to
a directory that will be used when dumping and reimporting a node. Defaults
to /mnt/migration.
node['cloudfoundry_mongodb_service']['node']['op_time_limit'] - Maximum
time to wait during provisioning. Defaults to 6.
node['cloudfoundry_mongodb_service']['node']['versions'] - A Hash mapping
versions of MongoDB to their runtime details. Defaults to {}.
node['cloudfoundry_mongodb_service']['node']['default_version'] - The
default version for requests to this node. Defaults to 2.2.

Usage

You need exactly one MongoDB service gateway, ideally deployed to the same
node as the cloud_controller:

run_list: "recipe[cloudfoundry-mongodb-service::gateway]"

You can run as many MongoDB service nodes as needed to support your expected
work load:

run_list: "recipe[cloudfoundry-mongodb-service::node]"

You also need to install the MongoDB package itself. You may want to provide
your own binaries, or you can use the simplified recipe in this cookbook:

run_list: "recipe[cloudfoundry-mongodb-service::install22]",
          "recipe[cloudfoundry-mongodb-service::node]"

License and Author

Author:: Andrea Campi (andrea.campi@zephirworks.om.com)
Author:: Trotter Cashion (cashion@gmail.com)

Copyright:: 2012 ZephirWorks
Copyright:: 2012 Trotter Cashion

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

cloudfoundry >= 0.0.0
cloudfoundry_service >= 0.0.0
mongodb >= 0.0.0
rbenv >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found