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

lxd (9) Versions 0.2.2

Installs/Configures lxd & lxc

Policyfile
Berkshelf
Knife
cookbook 'lxd', '= 0.2.2', :supermarket
cookbook 'lxd', '= 0.2.2'
knife supermarket install lxd
knife supermarket download lxd
README
Dependencies
Changelog
Quality 100%

lxd-cookbook

CK Version Travis
Gitter chat

DESCRIPTION

Installs and runs LXD API daemon, LXC CLI tool.

Supported Platforms

  • Ubuntu 14.04

Should work perfectly with upper Ubuntu releases.

May work with other OS when building from sources, PR are welcome !

Attributes

<table>
<tr>
<th>Key</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['lxd']['install_method']</tt></td>
<td>Install method (source/package)</td>
<td><tt>'package'</tt></td>
</tr>
<tr>
<td><tt>['lxd']['repo']</tt></td>
<td>ppa target (package install)</td>
<td><tt>'ppa:ubuntu-lxc/lxd-daily'</tt></td>
</tr>
<tr>
<td><tt>['lxd']['tcp_ip']</tt></td>
<td>API bind IP (source install)</td>
<td><tt>'127.0.0.1'</tt></td>
</tr>
<tr>
<td><tt>['lxd']['tcp_port']</tt></td>
<td>API bind port (source install)</td>
<td><tt>'8443'</tt></td>
</tr>
<tr>
<td><tt>['lxd']['logdir']</tt></td>
<td>log directory (source install)</td>
<td><tt>'/var/log/lxd'</tt></td>
</tr>
<tr>
<td><tt>['lxd']['logdays']</tt></td>
<td>log retention in days (source install)</td>
<td><tt>31</tt></td>
</tr>
</table>

Install methods

Package

Install lxd from packages:

node['lxd']['install_method'] = 'package' # Not necessary because it's the default
include_recipe 'lxd'
# Or
include_recipe 'lxd::lxd_from_package'

Source

Install node from sources:

node['lxd']['install_method'] = 'source'
include_recipe 'lxd'
# Or
include_recipe 'lxd::lxd_from_source'

License and Authors

Licensed under the Apache License, Version 2.0.

Authors :

Dependent cookbooks

apt >= 0.0.0
build-essential >= 0.0.0
golang >= 0.0.0
logrotate >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

lxd Cookbook CHANGELOG

v0.2.2

  • Adding protoc dependencies
  • kitchen test is now forwarding 8443 tcp port
  • fixed go bin path in go get resource

v0.2.0

  • #7 LXD from source is now updating when upstream moves
  • #6 Changelog file up2date
  • #4 Added more attributes in README.md
  • Fixing Rubocop typos
  • Changing version naming (add 'v' prefix)

Foodcritic Metric
            

0.2.2 passed this metric