cookbook 'lxd', '~> 0.2.6'
lxd (9) Versions 0.2.6 Follow1
Installs/Configures lxd & lxc
cookbook 'lxd', '~> 0.2.6', :supermarket
knife supermarket install lxd
knife supermarket download lxd
lxd-cookbook
DESCRIPTION
Installs and runs LXD API daemon, LXC and LXD 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']['lxc-repo']</tt></td>
<td>ppa target for lxc, use 'nil' for OS pkg</td>
<td><tt>'ppa:ubuntu-lxc/lxc-stable'</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>
Recipes
-
lxd::default
- Installs lxd following
node['lxd']['install_method']
method.
- Installs lxd following
-
lxd::client
- Install lxd client tools following
node['lxd']['install_method']
method.
- Install lxd client tools following
-
lxd::lxc
- Setup lxc repo using
node['lxd']['lxc-repo']
.
- Setup lxc repo using
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 :
- Barthelemy Vessemont (bvessemont@gmail.com)
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.6
- LXC install handled from official repo
- Gemfile update
v0.2.4
- Adding client-only install recipe (client.rb) from source & package
- Changing default ppa repo for lxd
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)
Collaborator Number Metric
0.2.6 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.6 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.2.6 failed this metric
FC064: Ensure issues_url is set in metadata: lxd/metadata.rb:1
FC065: Ensure source_url is set in metadata: lxd/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxd/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: lxd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/client_from_source.rb:10
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/lxd_from_source.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.6 passed this metric
Testing File Metric
0.2.6 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.2.6 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
0.2.6 failed this metric
0.2.6 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.2.6 failed this metric
FC064: Ensure issues_url is set in metadata: lxd/metadata.rb:1
FC065: Ensure source_url is set in metadata: lxd/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxd/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: lxd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/client_from_source.rb:10
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/lxd_from_source.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.6 passed this metric
Testing File Metric
0.2.6 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.2.6 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
0.2.6 failed this metric
FC065: Ensure source_url is set in metadata: lxd/metadata.rb:1
FC066: Ensure chef_version is set in metadata: lxd/metadata.rb:1
FC069: Ensure standardized license defined in metadata: lxd/metadata.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: lxd/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/client_from_source.rb:10
FC122: Use the build_essential resource instead of the recipe: lxd/recipes/lxd_from_source.rb:10
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.6 passed this metric
Testing File Metric
0.2.6 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.2.6 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
0.2.6 failed this metric
0.2.6 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