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

amoeba_basenode (4) Versions 0.0.4

Configures basic system-level stuff for use woth Amoeba Deploy Tools.

Policyfile
Berkshelf
Knife
cookbook 'amoeba_basenode', '~> 0.0.4', :supermarket
cookbook 'amoeba_basenode', '~> 0.0.4'
knife supermarket install amoeba_basenode
knife supermarket download amoeba_basenode
README
Dependencies
Quality 17%

Amoeba "Basenode" Cookbook

For usage of this cookbook, see Amoeba Deploy Tools (ADT)'s readme at:

http://github.com/AmoebaConsulting/amoeba-deploy-tools

Note:

If you use this cookbook, you must be sure to include monit, locale, and rvm from Githubg by adding
the following to your Cheffile:

cookbook 'locale',  github: 'fnordfish/chef-locale'
cookbook 'monit',   github: 'phlipper/chef-monit'

Detailed Information

This is a special "basenode" Cookbook for use with amoeba-deploy-tools. It configures minimalist
information about a server, and most importantly creates the deployment user, and disables root
login. It also dumps node information to a JSON file in the deployment user's home, which is used
to cache node information in the data_bags folder of the local machine running deployments (ADT is
based around server-less deployments). Every node in your ADT kitchen should include the
basenode::default cookbook to provide this functionality.

The only thing that should need to be configured is the swapfile and provider. Swap files are easy:

  1. Set the swapfile_size attribute on the node

  2. Include basenode::swap in the runlist (or a role)

Providers are specified in your node's deployment/provider attribute, which is a string name of
the provider. Available providers should be located in your kitchen's provider's databag, which is
built from the data_bags/providers/<name.json> files.

Dependent cookbooks

swap >= 0.0.0
openssh >= 0.0.0
ohai >= 0.0.0
locale >= 0.1.0
timezone-ii >= 0.0.0
hostname >= 0.0.0
build-essential >= 0.0.0
git >= 0.0.0
sudo >= 0.0.0
monit >= 1.5.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.0.4 failed this metric

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

Contributing File Metric
            

0.0.4 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
            

0.0.4 failed this metric

FC009: Resource attribute not recognised: amoeba_basenode/recipes/deployer.rb:18
FC039: Node method cannot be accessed with key: amoeba_basenode/attributes/monit.rb:29
FC039: Node method cannot be accessed with key: amoeba_basenode/templates/default/monit.upstart.conf.erb:3
FC043: Prefer new notification syntax: amoeba_basenode/recipes/apt_update.rb:7
FC064: Ensure issues_url is set in metadata: amoeba_basenode/metadata.rb:1
FC065: Ensure source_url is set in metadata: amoeba_basenode/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amoeba_basenode/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: amoeba_basenode/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: amoeba_basenode/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: amoeba_basenode/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.4 passed this metric

Testing File Metric
            

0.0.4 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
            

0.0.4 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