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 (13) Versions 1.0.1

Installs/Configures cloudfoundry

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

Description

Helper cookbook that groups common functionality for all other
CloudFoundry cookbooks.

Requirements

Platform

  • Ubuntu

Tested on:

  • Ubuntu 10.04
  • Ubuntu 12.04

Cookbooks

  • apt
  • logrotate
  • rbenv

Usage

You should never need to use any recipes in this cookbook on their own.
Instead, you should include recipes from the higher level CloudFoundry
cookbooks such as cloudfoundry-dea and
cloudfoundry-cloud_controller.

Attributes

User and group

  • node['cloudfoundry']['user'] - User that will own and run CloudFoundry. Default is cloudfoundry.
  • node['cloudfoundry']['group'] - Group of the user that will own and run CloudFoundry. Default is cloudfoundry.
  • node['cloudfoundry']['uid'] - Uid of the user that will own and run CloudFoundry. Default is 1002.
  • node['cloudfoundry']['gid'] - Gid of the user that will own and run CloudFoundry. Default is 1002.
  • node['cloudfoundry']['home'] - Home of the user that will own and run CloudFoundry. Default is "/home/#{node['cloudfoundry']['user']}".

Directories

  • node['cloudfoundry']['config_dir'] - Where to write config files for all CloudFoundry components. Default is /etc/cloudfoundry.
  • node['cloudfoundry']['data_dir'] - Path to the directory used by components to store private data. Default is /var/vcap/data.
  • node['cloudfoundry']['log_dir'] - Where to write log files for all CloudFoundry components. Default is /var/log/cloudfoundry.
  • node['cloudfoundry']['pid_dir'] - Where to write pid files for all CloudFoundry components. Default is /var/run/cloudfoundry.

Rbenv

  • node['cloudfoundry']['ruby_1_9_2_version'] - The exact version of ruby-1.9.2 to install. Default is 1.9.2-p290".

Nats

All components in a CloudFoundry cluster need access to a Nats server.

The recommended way to configure the server is to use search:

  • node['cloudfoundry']['nats_server_role'] - The role that will be used to search for a Nats server node. Default is cloudfoundry_nats_server.

If for some reason you can't or won't use search, you need to specify connection information on each node
(ideally, using a role):

  • node['cloudfoundry']['nats_server']['host'] - Host of the Nats Server that all CloudFoundry components will use for messaging. Default is localhost".
  • node['cloudfoundry']['nats_server']['port'] - Port of the Nats Server that all CloudFoundry components will use for messaging. Default is 4222".
  • node['cloudfoundry']['nats_server']['user'] - Host of the Nats Server that all CloudFoundry components will use for messaging. Default is nats".
  • node['cloudfoundry']['nats_server']['password'] - Port of the Nats Server that all CloudFoundry components will use for messaging. Default is nats".

Miscellaneous

  • node['cloudfoundry']['local_route'] - local_route is the IP address of a well known server on your network, it is used to choose the right ip address (think of hosts that have multiple nics and IP addresses assigned to them) of the host running the cloud controller. Default value of nil, should work in most cases. Default is nil.
  • node['cloudfoundry']['capacity']['memory'] - Maximum amount of memory that an application can request. Default is 2048.
  • node['cloudfoundry']['capacity']['max_uris'] - Maximum number of uris to which an application can be bound. Default is 4.
  • node['cloudfoundry']['capacity']['max_services'] - Maximum number of services to which an application can be bound. Default is 16.
  • node['cloudfoundry']['capacity']['max_apps'] - Maximum number of applications that a user can have. Default is 20.
  • node['cloudfoundry']['service_token'] - The token to use to authenticate services to cloudfoundry. Default is 0xdeadbeef.
  • node['cloudfoundry']['cloud_controller_role'] - The role that will be used to search for a cloud_controller node. Default is cloudfoundry_cloud_controller.
  • node['cloudfoundry']['vcap_redis_role'] - The role that will be used to search for a redis_vcap node. Default is cloudfoundry_redis_vcap.

License and Author

Author:: Andrea Campi (andrea.campi@zephirworks.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

apt >= 0.0.0
logrotate >= 0.0.0
rbenv >= 0.0.0

Contingent cookbooks

cloudfoundry-cloud_controller Applicable Versions
cloudfoundry-dea Applicable Versions
cloudfoundry-filesystem-service Applicable Versions
cloudfoundry-health_manager Applicable Versions
cloudfoundry-mongodb-service Applicable Versions
cloudfoundry-nginx Applicable Versions
cloudfoundry-rabbitmq-service Applicable Versions
cloudfoundry-router Applicable Versions
cloudfoundry-ruby-runtime Applicable Versions
cloudfoundry-service_broker Applicable Versions
cloudfoundry-stager Applicable Versions
cloudfoundry_service Applicable Versions
nats Applicable Versions

No quality metric results found