Horizon: Enable c-bak panel
... when cinder-backup is enabled. The service is not automatically discovered and the availability should be declared by the OPENSTACK_CINDER_FEATURES option. Change-Id: Ieba9b30b6ef32b021a1d04a616b836d2a480f9a1
This commit is contained in:
parent
6ca9b0cc42
commit
f06ba76091
@ -96,8 +96,9 @@ class { 'openstack_integration::gnocchi':
|
||||
}
|
||||
|
||||
class { 'openstack_integration::horizon':
|
||||
cache_backend => $django_cache_backend,
|
||||
ironic_enabled => true
|
||||
cache_backend => $django_cache_backend,
|
||||
cinder_backup_enabled => true,
|
||||
ironic_enabled => true
|
||||
}
|
||||
|
||||
class { 'openstack_integration::tempest':
|
||||
|
@ -4,6 +4,10 @@
|
||||
# (optional) The django cache backend
|
||||
# Defaults to 'memcached'.
|
||||
#
|
||||
# [*cinder_backup_enabled*]
|
||||
# (optional) Flag to enable cinder-backup panel.
|
||||
# Defaults to false
|
||||
#
|
||||
# [*heat_enabled*]
|
||||
# (optional) Flag to enable heat dashboard
|
||||
# Defaults to false.
|
||||
@ -21,11 +25,12 @@
|
||||
# Defaults to false.
|
||||
#
|
||||
class openstack_integration::horizon (
|
||||
$cache_backend = 'memcached',
|
||||
$heat_enabled = false,
|
||||
$manila_enabled = false,
|
||||
$ironic_enabled = false,
|
||||
$octavia_enabled = false,
|
||||
$cache_backend = 'memcached',
|
||||
$cinder_backup_enabled = false,
|
||||
$heat_enabled = false,
|
||||
$manila_enabled = false,
|
||||
$ironic_enabled = false,
|
||||
$octavia_enabled = false,
|
||||
) {
|
||||
|
||||
include openstack_integration::config
|
||||
@ -76,6 +81,9 @@ class openstack_integration::horizon (
|
||||
wsgi_processes => 2,
|
||||
keystone_url => $::openstack_integration::config::keystone_auth_uri,
|
||||
log_level => 'DEBUG',
|
||||
cinder_options => {
|
||||
'enable_backup' => $cinder_backup_enabled
|
||||
},
|
||||
}
|
||||
|
||||
# TODO(tkajinam) Debian/Ubuntu package does not install the policy files
|
||||
|
Loading…
Reference in New Issue
Block a user