-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmetadata.json
43 lines (43 loc) · 7.68 KB
/
metadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "couchbase",
"description": "Installs/Configures Couchbase",
"long_description": "DESCRIPTION\n===========\n\nInstalls and configures Couchbase.\n\nREQUIREMENTS\n============\n\nChef 0.10.10 and Ohai 0.6.12 are required due to the use of platform_family.\n\nPlatforms\n---------\n\n* Debian family (Debian, Ubuntu etc)\n* Red Hat family (Redhat, CentOS, Oracle etc)\n* Microsoft Windows\n\nNote that Couchbase Server does not support Windows 8 or Server 2012: see http://www.couchbase.com/issues/browse/MB-6395. This is targeted to be fixed in Couchbase 2.0.2.\n\nATTRIBUTES\n==========\n\ncouchbase-server\n----------------\n\n* `node['couchbase']['server']['edition']` - The edition of couchbase-server to install, \"community\" or \"enterprise\"\n* `node['couchbase']['server']['version']` - The version of couchbase-server to install\n* `node['couchbase']['server']['package_file']` - The couchbase-server package file to download and install\n* `node['couchbase']['server']['package_base_url']` - The url path to download the couchbase-server package file from\n* `node['couchbase']['server']['package_full_url']` - The full url to the couchbase-server package file to download and install\n* `node['couchbase']['server']['database_path']` - The directory Couchbase should persist data to\n* `node['couchbase']['server']['log_dir']` - The directory Couchbase should log to\n* `node['couchbase']['server']['memory_quota_mb']` - The per server RAM quota for the entire cluster in megabytes\n defaults to Couchbase's maximum allowed value\n* `node['couchbase']['server']['username']` - The cluster's username for the REST API and Admin UI\n* `node['couchbase']['server']['password']` - The cluster's password for the REST API and Admin UI\n\nclient\n------\n\n* `node['couchbase']['client']['version']` - The version of libcouchbase to install\n\nmoxi\n----\n\n* `node['couchbase']['moxi']['version']` - The version of moxi to install\n* `node['couchbase']['moxi']['package_file']` - The package file to download\n* `node['couchbase']['moxi']['package_base_url']` - The base URL where the packages are located \n* `node['couchbase']['moxi']['package_full_url']` - The full URL to the moxi package\n* `node['couchbase']['moxi']['cluster_server']` - The bootstrap server for moxi to contact for the node list\n* `node['couchbase']['moxi']['cluster_rest_url']` - The bootstrap server's full REST URL for retrieving the initial node list\n\nRECIPES\n=======\n\nclient\n------\n\nInstalls the libcouchbase2 and devel packages.\n\nserver\n------\n\nInstalls the couchbase-server package and starts the couchbase-server service.\n\nmoxi\n----\n\nInstalls the moxi-server package and starts the moxi-server service.\n\nRESOURCES/PROVIDERS\n===================\n\ncouchbase_node\n--------------\n\n### Actions\n\n* `:modify` - **Default** Modify the configuration of the node\n\n### Attribute Parameters\n\n* `id` - The id of the Couchbase node, typically \"self\", defaults to the resource name\n* `database_path` - The directory the Couchbase node should persist data to\n* `username` - The username to use to authenticate with Couchbase\n* `password` - The password to use to authenticate with Couchbase\n\n### Examples\n\n```ruby\ncouchbase_node \"self\" do\n database_path \"/mnt/couchbase-server/data\"\n\n username \"Administrator\"\n password \"password\"\nend\n```\n\ncouchbase_cluster\n-----------------\n\n### Actions\n\n* `:create_if_missing` - **Default** Create a cluster/pool only if it doesn't exist yet\n\n### Attribute Parameters\n\n* `cluster` - The id of the Couchbase cluster, typically \"default\", defaults to the resource name\n* `memory_quota_mb` - The per server RAM quota for the entire cluster in megabytes\n* `username` - The username to use to authenticate with Couchbase\n* `password` - The password to use to authenticate with Couchbase\n\n### Examples\n\n```ruby\ncouchbase_cluster \"default\" do\n memory_quota_mb 256\n\n username \"Administrator\"\n password \"password\"\nend\n```\n\ncouchbase_settings\n------------------\n\n### Actions\n\n* `:modify` - **Default** Modify the collection of settings\n\n### Attribute Parameters\n\n* `group` - Which group of settings to modify, defaults to the resource name\n* `settings` - The hash of settings to modify\n* `username` - The username to use to authenticate with Couchbase\n* `password` - The password to use to authenticate with Couchbase\n\n### Examples\n\n```ruby\ncouchbase_settings \"autoFailover\" do\n settings({\n \"enabled\" => true,\n \"timeout\" => 30,\n })\n\n username \"Administrator\"\n password \"password\"\nend\n```\n\ncouchbase_bucket\n----------------\n\n### Actions\n\n* `:create` - **Default** Create a Couchbase bucket\n\n### Attribute Parameters\n\n* `bucket` - The name to use for the Couchbase bucket, defaults to the resource name\n* `cluster` - The name of the cluster the bucket belongs to, defaults to \"default\"\n* `memory_quota_mb` - The bucket's per server RAM quota for the entire cluster in megabytes\n* `memory_quota_percent` The bucket's RAM quota as a percent (0.0-1.0) of the cluster's quota\n* `replicas` - Number of replica (backup) copies, defaults to 1. Set to false to disable\n* `username` - The username to use to authenticate with Couchbase\n* `password` - The password to use to authenticate with Couchbase\n\n### Examples\n\n```ruby\ncouchbase_bucket \"default\" do\n memory_quota_mb 128\n replicas 2\n\n username \"Administrator\"\n password \"password\"\nend\n\ncouchbase_bucket \"pillowfight\" do\n memory_quota_percent 0.5\n replicas false\n\n username \"Administrator\"\n password \"password\"\nend\n```\n\nLICENSE AND AUTHOR\n==================\n\nAuthor:: Chris Griego (<[email protected]>)\nAuthor:: Morgan Nelson (<[email protected]>)\nAuthor:: Julian Dunn (<[email protected]>)\n\nCopyright 2012, getaroom\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
"maintainer": "Julian C. Dunn",
"maintainer_email": "[email protected]",
"license": "MIT",
"platforms": {
"debian": ">= 0.0.0",
"ubuntu": ">= 0.0.0",
"centos": ">= 0.0.0",
"redhat": ">= 0.0.0",
"oracle": ">= 0.0.0",
"amazon": ">= 0.0.0",
"scientific": ">= 0.0.0",
"windows": ">= 0.0.0"
},
"dependencies": {
"apt": ">= 0.0.0",
"windows": ">= 0.0.0",
"yum": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
"couchbase::server": "Installs couchbase-server",
"couchbase::client": "Installs libcouchbase",
"couchbase::moxi": "Installs moxi-server"
},
"version": "1.0.0"
}