Merge "barbican: Use messaging/queue options from the base class"
This commit is contained in:
commit
198bd11291
@ -16,7 +16,24 @@ class openstack_integration::barbican {
|
|||||||
Exec['update-ca-certificates'] ~> Service['httpd']
|
Exec['update-ca-certificates'] ~> Service['httpd']
|
||||||
}
|
}
|
||||||
|
|
||||||
include barbican
|
class { 'barbican':
|
||||||
|
default_transport_url => os_transport_url({
|
||||||
|
'transport' => $::openstack_integration::config::messaging_default_proto,
|
||||||
|
'host' => $::openstack_integration::config::host,
|
||||||
|
'port' => $::openstack_integration::config::messaging_default_port,
|
||||||
|
'username' => 'barbican',
|
||||||
|
'password' => 'an_even_bigger_secret',
|
||||||
|
}),
|
||||||
|
notification_transport_url => os_transport_url({
|
||||||
|
'transport' => $::openstack_integration::config::messaging_notify_proto,
|
||||||
|
'host' => $::openstack_integration::config::host,
|
||||||
|
'port' => $::openstack_integration::config::messaging_notify_port,
|
||||||
|
'username' => 'barbican',
|
||||||
|
'password' => 'an_even_bigger_secret',
|
||||||
|
}),
|
||||||
|
queue_enable => true,
|
||||||
|
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
||||||
|
}
|
||||||
class { 'barbican::db::mysql':
|
class { 'barbican::db::mysql':
|
||||||
charset => $::openstack_integration::params::mysql_charset,
|
charset => $::openstack_integration::params::mysql_charset,
|
||||||
collate => $::openstack_integration::params::mysql_collate,
|
collate => $::openstack_integration::params::mysql_collate,
|
||||||
@ -58,26 +75,8 @@ class openstack_integration::barbican {
|
|||||||
service_token_roles_required => true,
|
service_token_roles_required => true,
|
||||||
}
|
}
|
||||||
class { 'barbican::api':
|
class { 'barbican::api':
|
||||||
default_transport_url => os_transport_url({
|
|
||||||
'transport' => $::openstack_integration::config::messaging_default_proto,
|
|
||||||
'host' => $::openstack_integration::config::host,
|
|
||||||
'port' => $::openstack_integration::config::messaging_default_port,
|
|
||||||
'username' => 'barbican',
|
|
||||||
'password' => 'an_even_bigger_secret',
|
|
||||||
}),
|
|
||||||
notification_transport_url => os_transport_url({
|
|
||||||
'transport' => $::openstack_integration::config::messaging_notify_proto,
|
|
||||||
'host' => $::openstack_integration::config::host,
|
|
||||||
'port' => $::openstack_integration::config::messaging_notify_port,
|
|
||||||
'username' => 'barbican',
|
|
||||||
'password' => 'an_even_bigger_secret',
|
|
||||||
}),
|
|
||||||
host_href => "${::openstack_integration::config::base_url}:9311",
|
host_href => "${::openstack_integration::config::base_url}:9311",
|
||||||
auth_strategy => 'keystone',
|
|
||||||
service_name => 'httpd',
|
service_name => 'httpd',
|
||||||
db_auto_create => false,
|
|
||||||
enable_queue => true,
|
|
||||||
rabbit_use_ssl => $::openstack_integration::config::ssl,
|
|
||||||
}
|
}
|
||||||
class { 'barbican::wsgi::apache':
|
class { 'barbican::wsgi::apache':
|
||||||
bind_host => $::openstack_integration::config::host,
|
bind_host => $::openstack_integration::config::host,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user