forked from eucalyptus/eucalyptus-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.json
32 lines (32 loc) · 5.18 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
{
"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### Environment\nTo deploy a distributed topology it is necessary to define an environment with at least these attributes defined:\n- node['eucalyptus']['topology']\n- node['eucalyptus']['network']['config-json']\n\n```\n\"default_attributes\": {\n \"eucalyptus\": {\n \"topology\": {\n \"clc-1\": \"10.111.5.163\",\n \"walrus\": \"10.111.5.163\",\n \"user-facing\": [\"10.111.5.163\"],\n \"clusters\": {\n \"default\": {\n \"cc-1\": \"10.111.5.164\",\n \"sc-1\": \"10.111.5.164\",\n \"storage-backend\": \"das\",\n \"das-device\": \"vg01\",\n \"nodes\": \"10.111.5.162 10.111.5.166 10.111.5.165 10.111.5.157\"\n }\n }\n },\n \"network\": {\n \"mode\": \"EDGE\",\n \"config-json\": {\n \"InstanceDnsDomain\" : \"eucalyptus.internal\",\n \"InstanceDnsServers\": [\"10.111.5.163\"],\n \"PublicIps\": [\"10.111.55.1-10.111.55.220\"],\n \"Subnets\": [],\n \"Clusters\": [\n {\n \"Name\": \"default\",\n \"MacPrefix\": \"d0:0d\",\n \"Subnet\": {\n \"Name\": \"172.16.55.0\",\n \"Subnet\": \"172.16.55.0\",\n \"Netmask\": \"255.255.255.0\",\n \"Gateway\": \"172.16.55.1\"\n },\n \"PrivateIps\": [ \"172.16.55.20-172.16.55.140\"]\n }]\n }\n }\n }\n } \n```\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- `ntp` - sets up NTP for all Eucalyptus servers\n- `yum` - used for managing repositories\n- `selinux` - disables selinux on Eucalyptus servers\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\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-----\nFor cloud-in-a-box installs look at...\n[Eucadev](https://github.com/eucalyptus/eucadev)\n\nFor distributed topologies...\n[Deployment with motherbrain](http://testingclouds.wordpress.com/2014/03/24/install-eucalyptus-4-0-using-motherbrain-and-chef/)\n\nContributing\n------------\n\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:\n\nVic Iglesias <[email protected]>\n",
"maintainer": "Vic Iglesias",
"maintainer_email": "[email protected]",
"license": "Apache 2",
"platforms": {
},
"dependencies": {
"yum": ">= 0.0.0",
"ntp": ">= 0.0.0",
"selinux": ">= 0.0.0"
},
"recommendations": {
},
"suggestions": {
},
"conflicting": {
},
"providing": {
},
"replacing": {
},
"attributes": {
},
"groupings": {
},
"recipes": {
},
"version": "0.3.19"
}