An open API service indexing awesome lists of open source software.

https://github.com/johnae/ceph

Ceph Chef Cookbook (for vagrant)
https://github.com/johnae/ceph

Last synced: over 1 year ago
JSON representation

Ceph Chef Cookbook (for vagrant)

Awesome Lists containing this project

README

          

ceph Cookbook
=============
Pretty specific cookbook for basic installation on a Vagrant box. It assumes there's a drive
at /dev/sdb so that's something for the Vagrantfile. It makes use of btrfs subvolumes for the
OSDs. This cookbook only concerns itself with the Rados Gateway, Cephs S3 compatible API.

e.g.
This cookbook makes your favorite breakfast sandwhich.

Requirements
------------
Apache2 cookbook
Apt cookbook

Attributes
----------
TODO: List you cookbook attributes here.

node['ceph']['radosgw']['initial_user']
node['ceph']['radosgw']['initial_password']
node['ceph']['radosgw']['socket_path']
node['ceph']['radosgw']['log_file']
node['ceph']['mon_ip]
node['ceph']['num_osds']
node['ceph']['fs_id']

e.g.
#### ceph::default


Key
Type
Description
Default


['ceph']['radosgw']['initial_user']
string
username of the first user of S3 compatible API
false


['ceph']['radosgw']['initial_password']
string
password of the first user of S3 compatible API
false


['ceph']['radosgw']['socket_path']
string
where to store radosgws socket
true


['ceph']['radosgw']['socket_path']
string
where to store radosgws socket
true


['ceph']['radosgw']['log_file_']
string
where to store radosgws logs
true


['ceph']['mon_ip']
string
the ip of the ceph monitor(usually set to the private host_only ip of the vagrant box)
false


['ceph']['num_osds']
string
where to store radosgws logs
true


['ceph']['fs_id']
the ceph filesystem id(string)
it's not that important (here) really, it's set to a default value
true

Usage
-----
#### ceph::default
TODO: Write usage instructions for each cookbook.

e.g.
Just include `ceph` and possibly `ceph::repo` in your node's `run_list`:

```json
{
"name":"my_node",
"run_list": [
"recipe[ceph::repo]",
"recipe[ceph]"
]
}