Update roles using .json files
Change-Id: I561d2400104776937629e60a7dfc44d6810fe711
This commit is contained in:
parent
486c596323
commit
02abf1a5e8
17
chef/roles/allinone-compute.json
Normal file
17
chef/roles/allinone-compute.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "allinone-compute",
|
||||
"description": "This will deploy all of the services for Openstack Compute to function on a single box.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-compute-single-controller]",
|
||||
"role[os-compute-worker]",
|
||||
"recipe[openstack-common::openrc]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "allinone-compute"
|
||||
description "This will deploy all of the services for Openstack Compute to function on a single box."
|
||||
run_list(
|
||||
"role[os-compute-single-controller]",
|
||||
"role[os-compute-worker]"
|
||||
)
|
18
chef/roles/os-base.json
Normal file
18
chef/roles/os-base.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "os-base",
|
||||
"description": "OpenStack Base role",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"recipe[openstack-common]",
|
||||
"recipe[openstack-common::logging]",
|
||||
"recipe[openstack-common::set_endpoints_by_interface]",
|
||||
"recipe[openstack-common::sysctl]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-base"
|
||||
description "OpenStack Base role"
|
||||
run_list(
|
||||
"recipe[openstack-common]",
|
||||
"recipe[openstack-common::logging]"
|
||||
)
|
16
chef/roles/os-block-storage-api.json
Normal file
16
chef/roles/os-block-storage-api.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-block-storage-api",
|
||||
"description": "OpenStack Block Storage API service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::api]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-block-storage-api"
|
||||
description "OpenStack Block Storage API service"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"cinder-api" => "/var/log/cinder/api.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"cinder-api" => "/var/log/cinder/cinder-api.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-cinder-api"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::api]"
|
||||
)
|
18
chef/roles/os-block-storage-controller.json
Normal file
18
chef/roles/os-block-storage-controller.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "os-block-storage-controller",
|
||||
"description": "Configures OpenStack block storage controller, configured by attributes.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-block-storage-api]",
|
||||
"role[os-block-storage-scheduler]",
|
||||
"recipe[openstack-block-storage::identity_registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-block-storage-scheduler.json
Normal file
16
chef/roles/os-block-storage-scheduler.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-block-storage-scheduler",
|
||||
"description": "OpenStack Block Storage Scheduler service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::scheduler]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-block-storage-scheduler"
|
||||
description "OpenStack Block Storage Scheduler service"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"cinder-scheduler" => "/var/log/cinder/scheduler.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"cinder-scheduler" => "/var/log/cinder/cinder-scheduler.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-cinder-scheduler"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::scheduler]"
|
||||
)
|
16
chef/roles/os-block-storage-volume.json
Normal file
16
chef/roles/os-block-storage-volume.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-block-storage-volume",
|
||||
"description": "OpenStack Block Storage volume service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::volume]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-block-storage-worker"
|
||||
description "OpenStack Block Storage worker"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"cinder-volume" => "/var/log/cinder/volume.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"cinder-volume" => "/var/log/cinder/cinder-volume.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-cinder-volume", "iscsid", "multipathd"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::volume]"
|
||||
)
|
19
chef/roles/os-block-storage.json
Normal file
19
chef/roles/os-block-storage.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "os-block-storage",
|
||||
"description": "Configures OpenStack block storage, configured by attributes.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-block-storage-api]",
|
||||
"role[os-block-storage-scheduler]",
|
||||
"role[os-block-storage-volume]",
|
||||
"recipe[openstack-block-storage::identity_registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
name "os-block-storage"
|
||||
description "Configures OpenStack block storage, configured by attributes."
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-block-storage::api]",
|
||||
"recipe[openstack-block-storage::scheduler]",
|
||||
"recipe[openstack-block-storage::volume]"
|
||||
)
|
24
chef/roles/os-client.json
Normal file
24
chef/roles/os-client.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "os-client",
|
||||
"description": "Roll-up role for client interfaces.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-common::client]",
|
||||
"recipe[openstack-block-storage::client]",
|
||||
"recipe[openstack-compute::client]",
|
||||
"recipe[openstack-identity::client]",
|
||||
"recipe[openstack-image::client]",
|
||||
"recipe[openstack-network::client]",
|
||||
"recipe[openstack-object-storage::client]",
|
||||
"recipe[openstack-orchestration::client]",
|
||||
"recipe[openstack-telemetry::client]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-compute-api-ec2.json
Normal file
16
chef/roles/os-compute-api-ec2.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-api-ec2",
|
||||
"description": "EC2 API for Compute",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-ec2]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-compute-api-ec2"
|
||||
description "EC2 API for Compute"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-ec2]"
|
||||
)
|
16
chef/roles/os-compute-api-metadata.json
Normal file
16
chef/roles/os-compute-api-metadata.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-api-metadata",
|
||||
"description": "OpenStack compute metadata API service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-metadata]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
name "os-compute-api-metadata"
|
||||
description "OpenStack compute metadata API service"
|
||||
override_attributes(
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-metadata-api"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-metadata]"
|
||||
)
|
16
chef/roles/os-compute-api-os-compute.json
Normal file
16
chef/roles/os-compute-api-os-compute.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-api-os-compute",
|
||||
"description": "OpenStack API for Compute",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-os-compute]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-compute-api-os-compute"
|
||||
description "OpenStack API for Compute"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"nova-api" => "/var/log/nova/api.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"nova-api" => "/var/log/nova/nova-api.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-api"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::api-os-compute]"
|
||||
)
|
19
chef/roles/os-compute-api.json
Normal file
19
chef/roles/os-compute-api.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "os-compute-api",
|
||||
"description": "Roll-up role for all the Compute APIs",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
// "role[os-compute-api-ec2]",
|
||||
"role[os-compute-api-os-compute]",
|
||||
"role[os-compute-api-metadata]",
|
||||
"recipe[openstack-compute::identity_registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
name "os-compute-api"
|
||||
description "Roll-up role for all the Compute APIs"
|
||||
run_list(
|
||||
"role[os-compute-api-ec2]",
|
||||
"role[os-compute-api-os-compute]"
|
||||
# "role[os-compute-api-metadata]"
|
||||
)
|
16
chef/roles/os-compute-cert.json
Normal file
16
chef/roles/os-compute-cert.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-cert",
|
||||
"description": "OpenStack Compute Cert service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::nova-cert]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
name "os-compute-cert"
|
||||
description "OpenStack Compute Cert service"
|
||||
override_attributes(
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-cert"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::nova-cert]"
|
||||
)
|
16
chef/roles/os-compute-conductor.json
Normal file
16
chef/roles/os-compute-conductor.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-conductor",
|
||||
"description": "Nova conductor",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::conductor]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
21
chef/roles/os-compute-controller.json
Normal file
21
chef/roles/os-compute-controller.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "os-compute-controller",
|
||||
"description": "Roll-up role for all of the OpenStack Compute services on a single roles",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-compute-setup]",
|
||||
"role[os-compute-conductor]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-api]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
name "os-compute-controller"
|
||||
description "Roll-up role for all the Compute APIs"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"role[os-compute-api]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]",
|
||||
"recipe[openstack-compute::conductor]",
|
||||
"recipe[openstack-compute::nova-setup]"
|
||||
)
|
16
chef/roles/os-compute-scheduler.json
Normal file
16
chef/roles/os-compute-scheduler.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-scheduler",
|
||||
"description": "Nova scheduler",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::scheduler]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
name "os-compute-scheduler"
|
||||
description "Nova scheduler"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"nova-scheduler" => "/var/log/nova/scheduler.log",
|
||||
"nova-conductor" => "/var/log/nova/conductor.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"nova-scheduler" => "/var/log/nova/nova-scheduler.log",
|
||||
"nova-conductor" => "/var/log/nova/nova-conductor.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-scheduler", "openstack-nova-conductor"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::scheduler]"
|
||||
)
|
17
chef/roles/os-compute-setup.json
Normal file
17
chef/roles/os-compute-setup.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-compute-setup",
|
||||
"description": "Nova setup and identity registration",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::nova-setup]",
|
||||
"recipe[openstack-compute::identity_registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
28
chef/roles/os-compute-single-controller-no-network.json
Normal file
28
chef/roles/os-compute-single-controller-no-network.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "os-compute-single-controller-no-network",
|
||||
"description": "Roll-up role for all of the OpenStack Compute services on a single, non-HA controller, minus any network related roles",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-ops-database]",
|
||||
"recipe[openstack-ops-database::openstack-db]",
|
||||
"role[os-ops-messaging]",
|
||||
"role[os-identity]",
|
||||
"role[os-image]",
|
||||
"role[os-compute-setup]",
|
||||
"role[os-compute-conductor]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-api]",
|
||||
"role[os-block-storage]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]",
|
||||
"role[os-dashboard]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
29
chef/roles/os-compute-single-controller.json
Normal file
29
chef/roles/os-compute-single-controller.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "os-compute-single-controller",
|
||||
"description": "Roll-up role for all of the OpenStack Compute services on a single, non-HA controller.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-ops-database]",
|
||||
"recipe[openstack-ops-database::openstack-db]",
|
||||
"role[os-ops-messaging]",
|
||||
"role[os-identity]",
|
||||
"role[os-image]",
|
||||
"role[os-network]",
|
||||
"role[os-compute-setup]",
|
||||
"role[os-compute-conductor]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-api]",
|
||||
"role[os-block-storage]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]",
|
||||
"role[os-dashboard]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
name "os-compute-single-controller"
|
||||
description "Roll-up role for all of the OpenStack Compute services on a single, non-HA controller."
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"role[os-ops-database]",
|
||||
"role[os-ops-messaging]",
|
||||
"role[os-identity]",
|
||||
"role[os-image]",
|
||||
"role[os-network]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-api]",
|
||||
"role[os-block-storage]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]",
|
||||
"role[os-dashboard]"
|
||||
)
|
16
chef/roles/os-compute-vncproxy.json
Normal file
16
chef/roles/os-compute-vncproxy.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-vncproxy",
|
||||
"description": "Nova VNC Proxy",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::vncproxy]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
name "os-compute-vncproxy"
|
||||
description "Nova VNC Proxy"
|
||||
override_attributes(
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-xvpvncproxy", "openstack-nova-novncproxy"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::vncproxy]"
|
||||
)
|
||||
|
16
chef/roles/os-compute-worker.json
Normal file
16
chef/roles/os-compute-worker.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-compute-worker",
|
||||
"description": "The compute node, most likely with a hypervisor.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::compute]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
name "os-compute-worker"
|
||||
description "The compute node, most likely with a hypervisor."
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"nova-compute" => "/var/log/nova/compute.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"nova-compute" => "/var/log/nova/nova-compute.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-nova-compute"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-compute::compute]"
|
||||
)
|
||||
|
@ -1,17 +0,0 @@
|
||||
name "os-controller"
|
||||
description "Roll-up role for all of the OpenStack Compute services on a single, non-HA controller."
|
||||
run_list(
|
||||
'role[os-dashboard]',
|
||||
'role[os-identity]',
|
||||
'role[os-identity-api]',
|
||||
'role[os-identity-api-admin]',
|
||||
'role[os-block-storage-api]',
|
||||
'role[os-block-storage-scheduler]',
|
||||
'role[os-compute-api]',
|
||||
'role[os-compute-api-os-compute]',
|
||||
'role[os-compute-cert]',
|
||||
'role[os-compute-controller]',
|
||||
'role[os-compute-scheduler]',
|
||||
# 'role[os-compute-vncproxy]',
|
||||
'role[os-network-server]'
|
||||
)
|
17
chef/roles/os-dashboard.json
Normal file
17
chef/roles/os-dashboard.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-dashboard",
|
||||
"description": "Horizon server",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"recipe[memcached]",
|
||||
"role[os-base]",
|
||||
"recipe[openstack-dashboard::server]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
name "os-dashboard"
|
||||
description "Horizon server"
|
||||
override_attributes(
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["httpd"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
# "recipe[openstack-dashboard::db]",
|
||||
"recipe[openstack-dashboard::server]"
|
||||
)
|
@ -1,15 +0,0 @@
|
||||
name "os-ha"
|
||||
description "Software load banance"
|
||||
override_attributes(
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["haproxy", "keepalived"]}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"recipe[keepalived]",
|
||||
"recipe[haproxy::tcp_lb]"
|
||||
)
|
@ -1,7 +0,0 @@
|
||||
name "os-identity-api-admin"
|
||||
description "Keystone admin API service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-identity::server]"
|
||||
)
|
||||
|
@ -1,6 +0,0 @@
|
||||
name "os-identity-api"
|
||||
description "Keystone API service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-identity::server]"
|
||||
)
|
17
chef/roles/os-identity.json
Normal file
17
chef/roles/os-identity.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-identity",
|
||||
"description": "Roll-up role for Identity",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-identity::server]",
|
||||
"recipe[openstack-identity::registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
name "os-identity"
|
||||
description "Roll-up role for Identity"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"keystone" => "/var/log/keystone/keystone.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"keystone" => "/var/log/keystone/keystone.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-keystone"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-identity::server]",
|
||||
"recipe[openstack-identity::registration]"
|
||||
)
|
16
chef/roles/os-image-api.json
Normal file
16
chef/roles/os-image-api.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-image-api",
|
||||
"description": "Glance API service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-image::api]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
name "os-image-api"
|
||||
description "Glance API service"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"glance-api" => "/var/log/glance/api.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"glance-api" => "/var/log/glance/api.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-glance-api"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
#"recipe[openstack-image::db]",
|
||||
"recipe[openstack-image::api]"
|
||||
)
|
||||
|
16
chef/roles/os-image-registry.json
Normal file
16
chef/roles/os-image-registry.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-image-registry",
|
||||
"description": "Glance Registry service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-image::registry]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
name "os-image-registry"
|
||||
description "Glance Registry service"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"glance-registry" => "/var/log/glance/registry.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"glance-registry" => "/var/log/glance/registry.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["openstack-glance-registry"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
#"recipe[openstack-image::db]",
|
||||
"recipe[openstack-image::registry]"
|
||||
)
|
||||
|
16
chef/roles/os-image-upload.json
Normal file
16
chef/roles/os-image-upload.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-image-upload",
|
||||
"description": "Glance image upload",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-image::image_upload]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
18
chef/roles/os-image.json
Normal file
18
chef/roles/os-image.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "os-image",
|
||||
"description": "Roll-up role for Glance.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-image-api]",
|
||||
"role[os-image-registry]",
|
||||
"recipe[openstack-image::identity_registration]",
|
||||
"role[os-image-upload]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-image"
|
||||
description "Roll-up role for Glance."
|
||||
run_list(
|
||||
"role[os-image-registry]",
|
||||
"role[os-image-api]"
|
||||
)
|
@ -1,6 +0,0 @@
|
||||
name "os-infra-caching"
|
||||
description "Memcached role for Openstack"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[memcached::default]"
|
||||
)
|
16
chef/roles/os-network-dhcp-agent.json
Normal file
16
chef/roles/os-network-dhcp-agent.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-network-dhcp-agent",
|
||||
"description": "OpenStack network dhcp-agent service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::dhcp_agent]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-network-l3-agent.json
Normal file
16
chef/roles/os-network-l3-agent.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-network-l3-agent",
|
||||
"description": "OpenStack network l3-agent service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::l3_agent]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-network-metadata-agent.json
Normal file
16
chef/roles/os-network-metadata-agent.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-network-metadata-agent",
|
||||
"description": "OpenStack network metadata-agent service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::metadata_agent]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-network-openvswitch.json
Normal file
16
chef/roles/os-network-openvswitch.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-network-openvswitch",
|
||||
"description": "OpenStack network openvswitch service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::openvswitch]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-network-server.json
Normal file
17
chef/roles/os-network-server.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-network-server",
|
||||
"description": "OpenStack network server service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::identity_registration]",
|
||||
"recipe[openstack-network::server]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-network-server"
|
||||
description "Configures OpenStack networking, managed by attribute for either nova-network or quantum"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"quantum-server" => "/var/log/quantum/server.log"
|
||||
},
|
||||
"rhelloglist" => {
|
||||
"quantum-server" => "/var/log/quantum/server.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["quantum-server"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::server]"
|
||||
)
|
19
chef/roles/os-network-worker.json
Normal file
19
chef/roles/os-network-worker.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "os-network-worker",
|
||||
"description": "Configures OpenStack networking node, managed by neutron.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-network-openvswitch]",
|
||||
"role[os-network-l3-agent]",
|
||||
"role[os-network-dhcp-agent]",
|
||||
"role[os-network-metadata-agent]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
21
chef/roles/os-network.json
Normal file
21
chef/roles/os-network.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "os-network",
|
||||
"description": "Configures OpenStack networking, managed by attribute for either nova-network or neutron.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::identity_registration]",
|
||||
"role[os-network-openvswitch]",
|
||||
"role[os-network-l3-agent]",
|
||||
"role[os-network-dhcp-agent]",
|
||||
"role[os-network-metadata-agent]",
|
||||
"role[os-network-server]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
name "os-network"
|
||||
description "Configures OpenStack networking, managed by attribute for either nova-network or quantum"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"quantum-ovsagent" => "/var/log/quantum/openvswitch-agent.log",
|
||||
"quantum-dhcp" => "/var/log/quantum/dhcp-agent.log",
|
||||
"quantum-l3agent" => "/var/log/quantum/l3-agent.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"quantum-ovsagent" => "/var/log/quantum/openvswitch-agent.log",
|
||||
"quantum-dhcp" => "/var/log/quantum/dhcp-agent.log",
|
||||
"quantum-l3agent" => "/var/log/quantum/l3-agent.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["quantum-dhcp-agent", "quantum-l3-agent", "quantum-openvswitch-agent", "quantum-metadata-agent"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-network::openvswitch]",
|
||||
"recipe[openstack-network::l3_agent]",
|
||||
"recipe[openstack-network::dhcp_agent]",
|
||||
"recipe[openstack-network::metadata_agent]"
|
||||
)
|
16
chef/roles/os-object-storage-account.json
Normal file
16
chef/roles/os-object-storage-account.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-object-storage-account",
|
||||
"description": "OpenStack object storage account service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::account]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage-account"
|
||||
description "OpenStack object storage account service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::account]"
|
||||
)
|
16
chef/roles/os-object-storage-container.json
Normal file
16
chef/roles/os-object-storage-container.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-object-storage-container",
|
||||
"description": "OpenStack object storage container service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::container]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage-container"
|
||||
description "OpenStack object storage container service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::container]"
|
||||
)
|
16
chef/roles/os-object-storage-management.json
Normal file
16
chef/roles/os-object-storage-management.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-object-storage-management",
|
||||
"description": "OpenStack object storage management service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::management]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage-management"
|
||||
description "OpenStack object storage management service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::management]"
|
||||
)
|
16
chef/roles/os-object-storage-object.json
Normal file
16
chef/roles/os-object-storage-object.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-object-storage-object",
|
||||
"description": "OpenStack object storage object service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::object]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage-object"
|
||||
description "OpenStack object storage object service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::object]"
|
||||
)
|
16
chef/roles/os-object-storage-proxy.json
Normal file
16
chef/roles/os-object-storage-proxy.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-object-storage-proxy",
|
||||
"description": "OpenStack object storage proxy service",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::proxy-server]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage-proxy"
|
||||
description "OpenStack object storage proxy service"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage::proxy]"
|
||||
)
|
20
chef/roles/os-object-storage.json
Normal file
20
chef/roles/os-object-storage.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "os-object-storage",
|
||||
"description": "OpenStack object storage roll-up role",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"role[os-object-storage-account]",
|
||||
"role[os-object-storage-container]",
|
||||
"role[os-object-storage-management]",
|
||||
"role[os-object-storage-object]",
|
||||
"role[os-object-storage-proxy]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "os-object-storage"
|
||||
description "OpenStack object storage roll-up role"
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-object-storage]"
|
||||
)
|
16
chef/roles/os-ops-caching.json
Normal file
16
chef/roles/os-ops-caching.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-ops-caching",
|
||||
"description": "Installs memcache server",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[memcached]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-ops-database.json
Normal file
17
chef/roles/os-ops-database.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-ops-database",
|
||||
"description": "Currently MySQL Server (non-ha)",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-ops-database::server]",
|
||||
"recipe[openstack-ops-database::openstack-db]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
name "os-ops-database"
|
||||
description "Currently MySQL Server (non-ha)"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"mysqld" => "/var/log/mysqld.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"mysqld" => "/var/log/mysql.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["mysqld"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-ops-database::server]",
|
||||
"recipe[openstack-ops-database::openstack-db]"
|
||||
)
|
16
chef/roles/os-ops-messaging.json
Normal file
16
chef/roles/os-ops-messaging.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-ops-messaging",
|
||||
"description": "Currently RabbitMQ Server (non-ha)",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-ops-messaging::server]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
name "os-ops-messaging"
|
||||
description "Currently RabbitMQ Server (non-ha)"
|
||||
override_attributes(
|
||||
"rsyslog" => {
|
||||
"rhelloglist" => {
|
||||
"rabbitmq" => "/var/log/rabbitmq/rabbit\@$hostname.log"
|
||||
},
|
||||
"debianloglist" => {
|
||||
"rabbitmq" => "/var/log/rabbitmq/rabbit\@$hostname.log"
|
||||
}
|
||||
},
|
||||
"collectd" => {
|
||||
"rhel" => {
|
||||
"plugins" => {
|
||||
"processes" => { "Process" => ["rabbitmq-server"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"recipe[openstack-ops-messaging::server]"
|
||||
)
|
16
chef/roles/os-orchestration-api-cfn.json
Normal file
16
chef/roles/os-orchestration-api-cfn.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-orchestration-api-cfn",
|
||||
"description": "Role for Heat CloudFormation Api Service.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-orchestration::api-cfn]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-orchestration-api-cloudwatch.json
Normal file
16
chef/roles/os-orchestration-api-cloudwatch.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-orchestration-api-cloudwatch",
|
||||
"description": "Role for Heat CloudWatch Api Service.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-orchestration::api-cloudwatch]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-orchestration-api.json
Normal file
16
chef/roles/os-orchestration-api.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-orchestration-api",
|
||||
"description": "Role for Heat Api Service.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-orchestration::api]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
16
chef/roles/os-orchestration-engine.json
Normal file
16
chef/roles/os-orchestration-engine.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "os-orchestration-engine",
|
||||
"description": "Role for Heat Engine Service.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-orchestration::engine]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
19
chef/roles/os-orchestration.json
Normal file
19
chef/roles/os-orchestration.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "os-orchestration",
|
||||
"description": "Role for Heat.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-orchestration-engine]",
|
||||
"role[os-orchestration-api]",
|
||||
"role[os-orchestration-api-cfn]",
|
||||
"role[os-orchestration-api-cloudwatch]",
|
||||
"recipe[openstack-orchestration::identity_registration]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
name "os-single-controller"
|
||||
description "Roll-up role for all of the OpenStack Compute services on a single, non-HA controller."
|
||||
run_list(
|
||||
"role[os-base]",
|
||||
"role[os-ops-database]",
|
||||
"role[os-ops-messaging]",
|
||||
"role[os-identity]",
|
||||
"role[os-image]",
|
||||
"role[os-network-server]",
|
||||
"role[os-block-storage]",
|
||||
"role[os-compute-scheduler]",
|
||||
"role[os-compute-api]",
|
||||
"recipe[openstack-compute::conductor]",
|
||||
"recipe[openstack-compute::nova-setup]",
|
||||
"role[os-compute-cert]",
|
||||
"role[os-compute-vncproxy]",
|
||||
"role[os-dashboard]"
|
||||
)
|
17
chef/roles/os-telemetry-agent-central.json
Normal file
17
chef/roles/os-telemetry-agent-central.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-agent-central",
|
||||
"description": "agent-central for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::agent-central]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-agent-compute.json
Normal file
17
chef/roles/os-telemetry-agent-compute.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-agent-compute",
|
||||
"description": "agent-compute for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::agent-compute]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-agent-notification.json
Normal file
17
chef/roles/os-telemetry-agent-notification.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-agent-notification",
|
||||
"description": "agent notification for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::agent-notification]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-alarm-evaluator.json
Normal file
17
chef/roles/os-telemetry-alarm-evaluator.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-alarm-evaluator",
|
||||
"description": "alarm evaluator for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::alarm-evaluator]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-alarm-notifier.json
Normal file
17
chef/roles/os-telemetry-alarm-notifier.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-alarm-notifier",
|
||||
"description": "alarm notifier for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::alarm-notifier]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-api.json
Normal file
17
chef/roles/os-telemetry-api.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-api",
|
||||
"description": "api for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::api]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
17
chef/roles/os-telemetry-collector.json
Normal file
17
chef/roles/os-telemetry-collector.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "os-telemetry-collector",
|
||||
"description": "collector for telemetry",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-base]",
|
||||
"recipe[openstack-telemetry::identity_registration]",
|
||||
"recipe[openstack-telemetry::collector]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
21
chef/roles/os-telemetry.json
Normal file
21
chef/roles/os-telemetry.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "os-telemetry",
|
||||
"description": "Role for Ceilometer.",
|
||||
"json_class": "Chef::Role",
|
||||
"default_attributes": {
|
||||
},
|
||||
"override_attributes": {
|
||||
},
|
||||
"chef_type": "role",
|
||||
"run_list": [
|
||||
"role[os-telemetry-agent-central]",
|
||||
"role[os-telemetry-agent-compute]",
|
||||
"role[os-telemetry-agent-notification]",
|
||||
"role[os-telemetry-alarm-evaluator]",
|
||||
"role[os-telemetry-alarm-notifier]",
|
||||
"role[os-telemetry-collector]",
|
||||
"role[os-telemetry-api]"
|
||||
],
|
||||
"env_run_lists": {
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
name "test-synclog"
|
||||
description "Sync application related logs for debugging"
|
||||
run_list(
|
||||
"recipe[rsyslog::client]",
|
||||
"recipe[collectd::client]"
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user