Add roles for Ceph and Openstack integration

Change-Id: I5742ce86e1f7551cca168a984c4d0b2e59648588
This commit is contained in:
Weidong Shao 2014-10-02 22:09:07 +00:00
parent 248f2f73f1
commit c948e19b77
8 changed files with 81 additions and 2 deletions

View File

@ -0,0 +1,15 @@
{
"name": "ceph-os-block-config",
"description": "OpenStack Base role",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"recipe[openstack-block-storage::cinder-config-ceph]"
],
"env_run_lists": {
}
}

View File

@ -0,0 +1,15 @@
{
"name": "ceph-os-compute-config",
"description": "Ceph-OpenStack compute config role",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"recipe[openstack-compute::compute-config-ceph]"
],
"env_run_lists": {
}
}

View File

@ -0,0 +1,15 @@
{
"name": "ceph-os-image-config",
"description": "Ceph-OpenStack image config role",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"recipe[openstack-image::glance-config-ceph]"
],
"env_run_lists": {
}
}

View File

@ -0,0 +1,16 @@
{
"name": "ceph-os-object-config",
"description": "Ceph-OpenStack object storage config role",
"json_class": "Chef::Role",
"default_attributes": {
},
"override_attributes": {
},
"chef_type": "role",
"run_list": [
"recipe[openstack-object-storage::swift-config-ceph]",
"recipe[openstack-object-storage::swiftclient-patch]"
],
"env_run_lists": {
}
}

View File

@ -0,0 +1,8 @@
{
"name": "openstack_config_mon",
"description": "openstack_config_mon",
"run_list": [
"recipe[ceph::repo]",
"recipe[ceph::openstack_config_mon]"
]
}

View File

@ -0,0 +1,8 @@
{
"name": "openstack_config_radosgw",
"description": "openstack_config_radosgw",
"run_list": [
"recipe[ceph::repo]",
"recipe[ceph::openstack_config_radosgw]"
]
}

View File

@ -14,7 +14,8 @@
"role[os-compute-scheduler]",
"role[os-compute-api]",
"role[os-compute-cert]",
"role[os-compute-vncproxy]"
"role[os-compute-vncproxy]",
"role[os-compute-api-metadata]""
],
"env_run_lists": {
}

View File

@ -16,7 +16,8 @@
"chef_type": "role",
"run_list": [
"role[os-base]",
"recipe[openstack-compute::compute]"
"recipe[openstack-compute::compute]",
"recipe[openssh::passwordless]"
],
"env_run_lists": {
}