forked from eucalyptus/eucalyptus-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.json
34 lines (34 loc) · 5.2 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
{
"name": "eucalyptus",
"description": "Installs/Configures eucalyptus",
"long_description": "eucalyptus Cookbook\n===================\nThis cookbook installs and configures Eucalyptus on CentOS 6 physical and virtual machines. Source and package installations are supported.\n\nRequirements\n------------\n\n#### Chef server config \nEnsure that the following config is set in `/etc/chef-server/chef-server.rb`:\nerchef['s3_url_ttl'] = 3600\n\n#### Platforms\nThis cookbook only supports RHEL/CentOS 6 at the time being.\n\n#### Bershelf\nA Berksfile is included to allow users to easily download the required cookbook dependencies.\n- Install Berkshelf: `gem install berkshelf`\n- Install Deps from inside this cookbook: `berks install`\n\n#### Cookbooks\n- `bridger` - configures bridges on Node Controllers\n- `ntp` - sets up NTP for all Eucalyptus servers\n- `partial_search` - required for `ssh_known_hosts`\n- `ssh_known_hosts` - add components to known hosts list\n- `yum` - used for managing repositories\n- `selinux` - disables selinux on Eucalyptus servers\n\nAttributes\n----------\nAttribute list can be found in attributes/default.rb\n\nSome common attributes are:\n#### eucalyptus installation config\n<table>\n <tr>\n <th>Key</th>\n <th>Type</th>\n <th>Description</th>\n <th>Default</th>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"install-type\"]</tt></td>\n <td>String</td>\n <td>Choose to install from `package` or `source`</td>\n <td><tt>package</tt></td>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"source-repo\"]</tt></td>\n <td>String</td>\n <td>Git repository to clone when building from source</td>\n <td><tt>https://github.com/eucalyptus/eucalyptus.git</tt></td>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"source-branch\"]</tt></td>\n <td>String</td>\n <td>Branch to use when building from source</td>\n <td><tt>testing</tt></td>\n </tr>\n</table>\n\n#### eucalyptus network config\n<table>\n <tr>\n <th>Key</th>\n <th>Type</th>\n <th>Description</th>\n <th>Default</th>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"network\"][\"mode\"]</tt></td>\n <td>String</td>\n <td>Networking mode to use</td>\n <td><tt>MANAGED-NOVLAN</tt></td>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"network\"][\"private-interface\"]</tt></td>\n <td>String</td>\n <td>Private interface of component</td>\n <td><tt>eth0</tt></td>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"network\"][\"public-interface\"]</tt></td>\n <td>String</td>\n <td>Public interface of component</td>\n <td><tt>eth0</tt></td>\n </tr>\n <tr>\n <td><tt>[\"eucalyptus\"][\"network\"][\"bridge-interface\"]</tt></td>\n <td>String</td>\n <td>Bridge interface of component. Will be created and set by playbook</td>\n <td><tt>br0</tt></td>\n </tr>\n</table>\n\n\nUsage\n-----\n#### eucalyptus from packages\n\nFor a single frontend configuration use a role similar to:\n\n```json\n{\n \"name\": \"cloud-controller\",\n \"description\": \"\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n \"eucalyptus\": {\n \"install-load-balancer\": false\n }\n },\n \"override_attributes\": {\n },\n \"chef_type\": \"role\",\n \"run_list\": [\n \"recipe[eucalyptus]\",\n \"recipe[eucalyptus::eutester]\",\n \"recipe[eucalyptus::cluster-controller]\",\n \"recipe[eucalyptus::walrus]\",\n \"recipe[eucalyptus::storage-controller]\",\n \"recipe[eucalyptus::cloud-controller]\",\n \"recipe[eucalyptus::register-components]\"\n ],\n \"env_run_lists\": {\n }\n}\n```\n\n\nFor a source build use something like:\n```json\n{\n \"name\": \"cloud-controller-source\",\n \"description\": \"\",\n \"json_class\": \"Chef::Role\",\n \"default_attributes\": {\n \"eucalyptus\": {\n \"install-type\": \"source\",\n \"release-rpm\": \"http://release-repo.eucalyptus-systems.com/releases/eucalyptus/3.4/centos/6/x86_64/eucalyptus-release-internal-3.4-1.el6.noarch.rpm\",\n \"install-load-balancer\": false\n }\n },\n \"override_attributes\": {\n },\n \"chef_type\": \"role\",\n \"run_list\": [\n \"recipe[eucalyptus]\",\n \"recipe[eucalyptus::eutester]\",\n \"recipe[eucalyptus::cloud-controller]\"\n ],\n \"env_run_lists\": {\n }\n}\n```\n\nContributing\n------------\nTODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.\n\ne.g.\n1. Fork the repository on Github\n2. Create a named feature branch (like `add_component_x`)\n3. Write your change\n4. Write tests for your change (if applicable)\n5. Run the tests, ensuring they all pass\n6. Submit a Pull Request using Github\n\nLicense and Authors\n-------------------\nAuthors: TODO: List authors\n",
"maintainer": "Vic Iglesias",
"maintainer_email": "[email protected]",
"license": "All rights reserved",
"platforms": {
},
"dependencies": {
"yum": ">= 0.0.0",
"ntp": ">= 0.0.0",
"selinux": ">= 0.0.0",
"ssh_known_hosts": ">= 0.0.0",
"partial_search": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
},
"version": "0.1.0"
}