Merge remote-tracking branch 'starlingx/master' into HEAD
Change-Id: I4f3cae0bc4ba3f9db5d64b4d6ab7eb88e2543ddc Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
@@ -546,20 +546,13 @@ fm::database_max_overflow: 20
|
||||
fm::database_max_pool_size: 1
|
||||
|
||||
# Barbican
|
||||
barbican::use_syslog: true
|
||||
barbican::log_facility: 'local2'
|
||||
barbican::database_idle_timeout: 60
|
||||
barbican::database_max_pool_size: 1
|
||||
barbican::database_max_overflow: 10
|
||||
barbican::alarm_history_time_to_live: 86400
|
||||
|
||||
barbican::auth::auth_endpoint_type: 'internalURL'
|
||||
|
||||
barbican::db::sync::user: 'root'
|
||||
|
||||
barbican::api::enabled: false
|
||||
barbican::api::service_name: 'barbican-api'
|
||||
barbican::api::enable_proxy_headers_parsing: true
|
||||
|
||||
barbican::api::logging::use_syslog: true
|
||||
barbican::api::logging::log_facility: 'local2'
|
||||
barbican::db::sync::user: 'root'
|
||||
barbican::db::database_idle_timeout: 60
|
||||
barbican::db::database_max_pool_size: 1
|
||||
barbican::keystone-listener::enabled: false
|
||||
barbican::worker::enabled: false
|
||||
|
||||
@@ -55,12 +55,15 @@ class openstack::barbican::service
|
||||
}
|
||||
$api_fqdn = $::platform::params::controller_hostname
|
||||
$url_host = "http://${api_fqdn}:${api_port}"
|
||||
|
||||
if str2bool($::is_initial_config_primary) {
|
||||
$enabled = true
|
||||
} else {
|
||||
$enabled = false
|
||||
}
|
||||
include ::platform::amqp::params
|
||||
|
||||
class { '::barbican::api':
|
||||
enabled => true,
|
||||
manage_service => true,
|
||||
enabled => $enabled,
|
||||
bind_host => $api_host,
|
||||
bind_port => $api_port,
|
||||
host_href => $url_host,
|
||||
|
||||
Reference in New Issue
Block a user