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-stager (7) Versions 1.0.5

Installs/Configures cloudfoundry-stager

Policyfile
Berkshelf
Knife
cookbook 'cloudfoundry-stager', '~> 1.0.5', :supermarket
cookbook 'cloudfoundry-stager', '~> 1.0.5'
knife supermarket install cloudfoundry-stager
knife supermarket download cloudfoundry-stager
README
Dependencies
Quality 17%

Description

Install the Cloud Foundry stager,
a mandatory component of a Cloud Foundry
installation.

Note: we recommend you deploy the stager on the same node as the
cloud_controller. While this may not be necessary, this release has only
been tested in that configuration.

Requirements

Platform

  • Ubuntu

Tested on:

  • Ubuntu 10.04
  • Ubuntu 12.04

Cookbooks

  • cloudfoundry
  • rbenv

Attributes

  • node['cloudfoundry_stager']['vcap']['install_path'] - Path to a directory that will hold the code for the stager. Defaults to /srv/vcap-stager.
  • node['cloudfoundry_stager']['vcap']['repo'] - Source repository for the stager code. Defaults to https://github.com/cloudfoundry/stager.git.
  • node['cloudfoundry_stager']['vcap']['reference'] - Git reference to use when fetching the stager code. Can be either a specific sha or a reference such as HEAD or master. Defaults to the last revision that has been tested with the cloudfoundry family of cookbooks.
  • node['cloudfoundry_stager']['ruby_version'] - Version of the ruby interpreter to use to run the stager daemon. Defaults to node['cloudfoundry']['ruby_version'].
  • node['cloudfoundry_stager']['log_level'] - Log level for the stager. Defaults to info.
  • node['cloudfoundry_stager']['log_file'] - Path to the stager log file. Defaults to File.join(node['cloudfoundry']['log_dir'], "stager.log").
  • node['cloudfoundry_stager']['pid_file'] - Path to the stager pid file. Defaults to File.join(node['cloudfoundry']['pid_dir'], "stager.pid").
  • node['cloudfoundry_stager']['max_staging_duration'] - Maximum number of seconds a staging can run. Defaults to 120.
  • node['cloudfoundry_stager']['max_active_tasks'] - Maximum number of tasks executing concurrently. Defaults to 10.
  • node['cloudfoundry_stager']['queues'] - List of queues to pull tasks from. Defaults to ['staging'].
  • node['cloudfoundry_stager']['data_dir'] - Base directory for the stager to store working information; it is used to set defaults for other attributes (see below). Defaults to File.join(node['cloudfoundry']['data_dir'], "stager").
  • node['cloudfoundry_stager']['tmp_dir'] - Path to a directory where the stager will create temporary files. Defaults to File.join(node['cloudfoundry_stager']['data_dir'], "tmp").
  • node['cloudfoundry_stager']['cache_dir'] - Path to a directory where the staging plugins will cache reusable software artifacts (ruby gems, npm packages etc). Defaults to File.join(node['cloudfoundry_stager']['data_dir'], "package_cache", "ruby").
  • node['cloudfoundry_stager']['secure'] - Set true to run the staging process as a separate unprivileged user. WARNING: it seems to be unused at this time. Defaults to false.

Usage

Simply add recipe[cloudfoundry-stager] to the run list.

Dependent cookbooks

cloudfoundry ~> 1.3.0
rbenv >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.5 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.5 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.5 failed this metric

FC064: Ensure issues_url is set in metadata: cloudfoundry-stager/metadata.rb:1
FC065: Ensure source_url is set in metadata: cloudfoundry-stager/metadata.rb:1
FC066: Ensure chef_version is set in metadata: cloudfoundry-stager/metadata.rb:1
FC069: Ensure standardized license defined in metadata: cloudfoundry-stager/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

1.0.5 passed this metric

Testing File Metric
            

1.0.5 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.5 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number