diff --git a/defaults/main.yml b/defaults/main.yml index 65fe32bc..32e4e20b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index 046f954f..2df69edc 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -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