cookbook 'lxd', '= 0.2.0'
lxd (9) Versions 0.2.0 Follow1
Installs/Configures lxd & lxc
cookbook 'lxd', '= 0.2.0', :supermarket
knife supermarket install lxd
knife supermarket download lxd
lxd-cookbook
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 :
- 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.0 (unreleased)
- #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.0 passed this metric
0.2.0 passed this metric