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

lxc (11) Versions 0.0.2

Chef driven Linux Containers

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

LXC

Manage linux containers with Chef.

Example

include_recipe 'lxc'

lxc_container 'my_container' do
  action :create
  validation_client 'my-validator'
  server_uri 'https://api.opscode.com/organizations/myorg'
  validator_pem content_from_encrypted_dbag
  run_list ['role[base]']
  chef_enabled true
end

lxc_container 'my_container_clone' do
  action :clone
  base_container 'my_container'
  chef_enabled true
end

lxc_service 'my_container_clone' do
  action :start
end

Containers do not have to be chef enabled but it does make them
extremely easy to configure. The lxc_container resource also provides
initialize_commands which an array of commands can be provided
that will be run after the container is created.

Repository:

Contributors

No quality metric results found