cookbook 'ceph_micro', '~> 0.1.1'
ceph_micro (2) Versions 0.1.1 Follow1
Installs ceph on one node with one osd, usefull for testing.
cookbook 'ceph_micro', '~> 0.1.1', :supermarket
knife supermarket install ceph_micro
knife supermarket download ceph_micro
ceph_micro-cookbook
This cookbook installs ceph using Loïc Dachary script described in
this article. It adds support for multi platform
and the development files.
Eventually here is the result:
vagrant@default-ubuntu-1204:/vagrant$ ceph -c /tmp/micro-ceph/ceph.conf -s cluster e3a14890-0e60-4310-b5c5-54117d04f876 health HEALTH_OK monmap e1: 1 mons at {0=127.0.0.1:6789/0}, election epoch 2, quorum 0 0 osdmap e5: 1 osds: 1 up, 1 in pgmap v41: 72 pgs, 2 pools, 658 bytes data, 1 objects 2273 MB used, 35045 MB / 39316 MB avail 72 active+clean
This is not suitable for production environment, but is very convenient for
testing and development.
Supported Platforms
- Ubuntu (12.04/14.04)
- Debian (7.7)
- CentOS (7.0)
Notes: This cookbook has been tested on the listed platforms. It may work
on other platforms with or without modification. Please
report issues for any
additional platforms so they can be added.
Attributes
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['ceph_micro']['version']</tt></td>
<td>String</td>
<td>Which version to use</td>
<td><tt>giant</tt></td>
</tr>
<tr>
<td><tt>['ceph_micro']['path']</tt></td>
<td>String</td>
<td>Path in which to install ceph</td>
<td><tt>/tmp/micro-ceph</tt></td>
</tr>
</table>
Usage
ceph_micro::default
Include ceph_micro
in your node's run_list
:
{ "run_list": [ "recipe[ceph_micro]" ] }
License and Authors
Author:: Sofer Athlan-Guyot (chem@sathlan.org)
Dependent cookbooks
python >= 0.0.0 |
yum-epel >= 0.0.0 |
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of ceph_micro
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
0.1.1 failed this metric
Foodcritic Metric
0.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: ceph_micro/metadata.rb:1
FC065: Ensure source_url is set in metadata: ceph_micro/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ceph_micro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ceph_micro/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 failed this metric
FC065: Ensure source_url is set in metadata: ceph_micro/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ceph_micro/metadata.rb:1
FC069: Ensure standardized license defined in metadata: ceph_micro/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
0.1.1 passed this metric