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)
- Host: GitHub
- URL: https://github.com/johnae/ceph
- Owner: johnae
- Created: 2013-06-08T10:40:32.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-08T10:40:48.000Z (about 13 years ago)
- Last Synced: 2025-01-31T13:13:09.546Z (over 1 year ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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]"
]
}