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

xen (1) Versions 1.0.0

Spawn new VMs from a base image, using Xen tools

Policyfile
Berkshelf
Knife
cookbook 'xen', '~> 1.0.0', :supermarket
cookbook 'xen', '~> 1.0.0'
knife supermarket install xen
knife supermarket download xen
README
Dependencies
Quality 17%
= Xen Tools support This cookbook is designed to allow provisioning VMs by adding new data bag items in the virtual_machines data bag. Currently it only supports bootstrapping using xen-tools, from a tarball or directory. Patches to use debootstrap and similar would be welcome. == Creating a new VM Add the Xen recipe to your Dom0, and set the default_vm attributes to taste. You'll also need to take an image of an existing VM. Mount it's disk at somewhere, and then run `tar cvzf my-vm-image.tgz .` and move the created file somewhere more permanent. Set xen/default_vm/install_source to that path. Now you can create a new data bag item in a virtual_machines databag: { "id": "testvm" } That's the bare minimum. The VM will be called testvm.domain. It'll be created, and then started using xm create. Any options in xen/default_vm can be overridden from the data bag for a VM: { "id": "bigtestvm", "size": "100G", "memory": "1G", "install_source": "/media/images/web-server.tgz" } == Using Chef to manage your new VMs By creating an image with Chef configured you can make things completely automated. Add a data bag item. Wait a little while. Start using Chef to manage your VM. You'll need to create a base VM image, with Chef installed. Copy your validation key over to /etc/chef/, and make sure the client is set to hit your Chef server. Now when it boots up for the first time, it'll register with Chef.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.0 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.0 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.0 failed this metric

FC064: Ensure issues_url is set in metadata: xen/metadata.rb:1
FC065: Ensure source_url is set in metadata: xen/metadata.rb:1
FC066: Ensure chef_version is set in metadata: xen/metadata.rb:1
FC069: Ensure standardized license defined in metadata: xen/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: xen/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.0 passed this metric

Testing File Metric
            

1.0.0 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.0 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