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':
|
class { 'openstack_integration::horizon':
|
||||||
cache_backend => $django_cache_backend,
|
cache_backend => $django_cache_backend,
|
||||||
ironic_enabled => true
|
cinder_backup_enabled => true,
|
||||||
|
ironic_enabled => true
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'openstack_integration::tempest':
|
class { 'openstack_integration::tempest':
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
# (optional) The django cache backend
|
# (optional) The django cache backend
|
||||||
# Defaults to 'memcached'.
|
# Defaults to 'memcached'.
|
||||||
#
|
#
|
||||||
|
# [*cinder_backup_enabled*]
|
||||||
|
# (optional) Flag to enable cinder-backup panel.
|
||||||
|
# Defaults to false
|
||||||
|
#
|
||||||
# [*heat_enabled*]
|
# [*heat_enabled*]
|
||||||
# (optional) Flag to enable heat dashboard
|
# (optional) Flag to enable heat dashboard
|
||||||
# Defaults to false.
|
# Defaults to false.
|
||||||
@ -21,11 +25,12 @@
|
|||||||
# Defaults to false.
|
# Defaults to false.
|
||||||
#
|
#
|
||||||
class openstack_integration::horizon (
|
class openstack_integration::horizon (
|
||||||
$cache_backend = 'memcached',
|
$cache_backend = 'memcached',
|
||||||
$heat_enabled = false,
|
$cinder_backup_enabled = false,
|
||||||
$manila_enabled = false,
|
$heat_enabled = false,
|
||||||
$ironic_enabled = false,
|
$manila_enabled = false,
|
||||||
$octavia_enabled = false,
|
$ironic_enabled = false,
|
||||||
|
$octavia_enabled = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include openstack_integration::config
|
include openstack_integration::config
|
||||||
@ -76,6 +81,9 @@ class openstack_integration::horizon (
|
|||||||
wsgi_processes => 2,
|
wsgi_processes => 2,
|
||||||
keystone_url => $::openstack_integration::config::keystone_auth_uri,
|
keystone_url => $::openstack_integration::config::keystone_auth_uri,
|
||||||
log_level => 'DEBUG',
|
log_level => 'DEBUG',
|
||||||
|
cinder_options => {
|
||||||
|
'enable_backup' => $cinder_backup_enabled
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO(tkajinam) Debian/Ubuntu package does not install the policy files
|
# TODO(tkajinam) Debian/Ubuntu package does not install the policy files
|
||||||
|
Loading…
Reference in New Issue
Block a user