Replace deprecated glance::api::database_connection

Change-Id: Iaff680095dfa93f5f6f2995ec588d352413aa8fe
This commit is contained in:
Takashi Kajinami 2021-04-30 17:39:27 +09:00
parent fc340a3da4
commit cbb542e07a

View File

@ -80,14 +80,16 @@ class openstack_integration::glance (
class { 'glance::api::logging':
debug => true,
}
class { 'glance::api':
class { 'glance::api::db':
database_connection => 'mysql+pymysql://glance:glance@127.0.0.1/glance?charset=utf8',
workers => 2,
enabled_backends => $enabled_backends,
default_backend => $default_backend,
bind_host => $::openstack_integration::config::host,
cert_file => $crt_file,
key_file => $key_file,
}
class { 'glance::api':
workers => 2,
enabled_backends => $enabled_backends,
default_backend => $default_backend,
bind_host => $::openstack_integration::config::host,
cert_file => $crt_file,
key_file => $key_file,
}
class { 'glance::notify::rabbitmq':
default_transport_url => os_transport_url({