-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds documentation about the custom radosgw lwrp
- Loading branch information
Walter Huf
committed
Oct 15, 2014
1 parent
c2244a2
commit 4541690
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,6 +121,27 @@ The ceph\_cephfs LWRP provides an easy way to mount CephFS. It will automaticall | |
- :use\_fuse - whether to use ceph-fuse or the kernel client to mount the filesystem. ceph-fuse is updated more often, but the kernel client allows for subdirectory mounting. Defaults to true | ||
- :cephfs\_subdir - which CephFS subdirectory to mount. Defaults to '/'. An exception will be thrown if this option is set to anything other than '/' if use\_fuse is also true | ||
|
||
### ceph\_radosgw | ||
|
||
The ceph\_radosgw LWRP provides an easy way to setup customized radosgw servers. The LWRP itself just adds a node attribute, and then the radosgw recipe does all the setup. Due to the way Chef processes the runlist, this resource has to be explicitly converged before compiling the radosgw recipe. Any recipe that calls this LWRP has to say `.run_action(:add)` after the do..end block. Alternatively, the node attributes can be set with a wrapper cookbook. | ||
|
||
#### Actions | ||
|
||
- :add - Adds the given information as a custom radosgw configuration. | ||
|
||
#### Parameters | ||
|
||
- :name - name attribute, not used | ||
- :region - what region should be set in the ceph.conf for this radosgw | ||
- :region\_root\_pool - what rados pool should be used to load region information | ||
- :zone - what zone should be set in the ceph.conf for this radosgw | ||
- :zone\_root\_pool - what rados pool should be used to load zone information | ||
- :keyname - what name to use when generating the cephx key for this radosgw. Defaults to client.radosgw.#{zone}.#{hostname} | ||
- :dns\_name - what dns name to use in ceph.conf and Apache | ||
- :dns\_aliases - an optional array of other hostnames to handle requests for in Apache | ||
- :socket\_path - the path to the socket that radosgw will use for fastcgi communications. Defaults to /var/run/ceph/ceph-radosgw.#{zone}.#{hostname} | ||
- :print\_continue - whether to set the `print continue` option in ceph.conf. Defaults to nil, which doesn't set the option, true or false sets the option to the given setting. | ||
|
||
## LICENSE AND AUTHORS | ||
|
||
* Author: Kyle Bader <[email protected]> | ||
|