Add roles for cookbook openstack-bare-metal

* Adds cookbook-openstack-bare-metal to Berksfile
* Updates infrastructure.yml
* Adds the roles for openstack-bare-metal services
* Adds databag items for openstack-bare-metal

blueprint bare-metal-enablement

Change-Id: Id26509013d33757be65c5f1df6ac11cf33cb6552
This commit is contained in:
wenchma 2015-03-04 17:03:30 +08:00
parent d2c7588fe7
commit d4c9172edf
11 changed files with 77 additions and 1 deletions

View File

@ -156,6 +156,7 @@ dash
glance
heat
horizon
ironic
keystone
neutron
nova

View File

@ -0,0 +1,9 @@
{
"id": "ironic",
"ironic": {
"encrypted_data": "Dar/zqjgektkx9BOkjHJW4s6uQpGRcsBpSVEKgkqPws=\n",
"iv": "h+k6v3xcQdqzdqQWlyoOnQ==\n",
"version": 1,
"cipher": "aes-256-cbc"
}
}

View File

@ -0,0 +1,9 @@
{
"id": "openstack-bare-metal",
"openstack-bare-metal": {
"encrypted_data": "Yz9/wWb2C597X6JoLOtMtrtr6WGzL8a//cYXpmwqDrE=\n",
"iv": "UkPywI/PL7Vv5fVoafRrqQ==\n",
"version": 1,
"cipher": "aes-256-cbc"
}
}

View File

@ -18,6 +18,7 @@ dash
glance
heat
horizon
ironic
keystone
neutron
nova

View File

@ -5,6 +5,9 @@ cookbooks:
roles:
- allinone-compute:
- os-bare-metal:
- os-bare-metal-api:
- os-bare-metal-conductor:
- os-base:
- os-block-storage:
- os-block-storage-api:

View File

@ -0,0 +1,16 @@
{
"name": "os-bare-metal-api",
"description": "OpenStack Bare Metal API service",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"role[os-base]",
"recipe[openstack-bare-metal::api]"
],
"env_run_lists": {
}
}

View File

@ -0,0 +1,16 @@
{
"name": "os-bare-metal-conductor",
"description": "OpenStack Bare Metal Conductor service",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"role[os-base]",
"recipe[openstack-bare-metal::conductor]"
],
"env_run_lists": {
}
}

18
roles/os-bare-metal.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "os-bare-metal",
"description": "Configures OpenStack Bare Metal, configured by attributes.",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"role[os-base]",
"role[os-bare-metal-api]",
"role[os-bare-metal-conductor]",
"recipe[openstack-bare-metal::identity_registration]"
],
"env_run_lists": {
}
}

View File

@ -21,6 +21,7 @@
"role[os-block-storage]",
"role[os-compute-cert]",
"role[os-compute-vncproxy]",
"role[os-bare-metal-api]",
"role[os-dashboard]"
],
"env_run_lists": {

View File

@ -22,6 +22,7 @@
"role[os-block-storage]",
"role[os-compute-cert]",
"role[os-compute-vncproxy]",
"role[os-bare-metal-api]",
"role[os-dashboard]"
],
"env_run_lists": {

View File

@ -9,7 +9,8 @@
"chef_type": "role",
"run_list": [
"role[os-base]",
"recipe[openstack-compute::compute]"
"recipe[openstack-compute::compute]",
"role[os-bare-metal-conductor]"
],
"env_run_lists": {
}