Add horizon setting for cinder backup

This change makes the cinder backup enable flag in the Horizon
configuration a variable.

It also enables this flag automatically through group_vars when
cinder_service_backup_program_enabled = True.

Change-Id: Ib64532bbd7a3774f16766de0d3d221579aecc9ff
Closes-Bug: #1504279
This commit is contained in:
Miguel Grinberg 2015-10-14 17:56:45 -07:00
parent d3db736493
commit e7ce7cec51
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ horizon_disable_password_reveal: False
horizon_enable_password_retrieve: False
# If nova_libvirt_inject_password is set to True, then this can also be enabled:
horizon_can_set_password: False
horizon_enable_cinder_backup: False
## Horizon SSL

View File

@ -246,7 +246,7 @@ OPENSTACK_HYPERVISOR_FEATURES = {
# The OPENSTACK_CINDER_FEATURES settings can be used to enable optional
# services provided by cinder that is not exposed by its extension API.
OPENSTACK_CINDER_FEATURES = {
'enable_backup': False,
'enable_backup': {{ horizon_enable_cinder_backup | bool }},
}
# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional