reorganise focal build

The default is that we have a base openstack without any LMA components
This commit is contained in:
Arif Ali 2024-06-25 12:33:42 +01:00
parent 0dc75ca208
commit a63cad00d7
Signed by: arif
GPG Key ID: 369608FBA1353A70
13 changed files with 46 additions and 47 deletions

View File

@ -54,23 +54,6 @@ resource "juju_application" "nova-compute-kvm" {
}
}
resource "juju_application" "ceilometer-agent" {
name = "ceilometer-agent"
model = var.model-name
charm {
name = "ceilometer-agent"
channel = var.openstack-channel
}
units = 0
config = {
use-internal-endpoints = "true"
}
}
resource "juju_application" "neutron-openvswitch" {
name = "neutron-openvswitch"
@ -121,21 +104,6 @@ resource "juju_application" "sysconfig-compute" {
}
}
resource "juju_integration" "compute-ceilometer" {
model = var.model-name
application {
name = juju_application.nova-compute-kvm.name
endpoint = "nova-ceilometer"
}
application {
name = juju_application.ceilometer-agent.name
endpoint = "nova-ceilometer"
}
}
resource "juju_integration" "compute-ovs" {
model = var.model-name
@ -226,21 +194,6 @@ resource "juju_integration" "neutron-ovs-rmq" {
}
}
resource "juju_integration" "ceilometer-agent-rmq" {
model = var.model-name
application {
name = juju_application.ceilometer-agent.name
endpoint = "amqp"
}
application {
name = juju_application.rabbitmq-server.name
endpoint = "amqp"
}
}
resource "juju_integration" "nova-compute-glance" {
model = var.model-name

View File

@ -0,0 +1,46 @@
resource "juju_application" "ceilometer-agent" {
name = "ceilometer-agent"
model = var.model-name
charm {
name = "ceilometer-agent"
channel = var.openstack-channel
}
units = 0
config = {
use-internal-endpoints = "true"
}
}
resource "juju_integration" "compute-ceilometer" {
model = var.model-name
application {
name = juju_application.nova-compute-kvm.name
endpoint = "nova-ceilometer"
}
application {
name = juju_application.ceilometer-agent.name
endpoint = "nova-ceilometer"
}
}
resource "juju_integration" "ceilometer-agent-rmq" {
model = var.model-name
application {
name = juju_application.ceilometer-agent.name
endpoint = "amqp"
}
application {
name = juju_application.rabbitmq-server.name
endpoint = "amqp"
}
}