Merge "Auto-enable heat cinder backup functionality"

This commit is contained in:
Jenkins 2016-12-21 09:09:32 +00:00 committed by Gerrit Code Review
commit a01ee91467
2 changed files with 12 additions and 0 deletions

View File

@ -18,3 +18,7 @@ heat_service_in_ldap: "{{ service_ldap_backend_enabled }}"
# Ensure that the package state matches the global setting
heat_package_state: "{{ package_state }}"
# Only enable the heat cinder backups functionality if the cinder backup
# service is enabled.
heat_cinder_backups_enabled: "{{ (cinder_service_backup_program_enabled is defined and cinder_service_backup_program_enabled | bool) | ternary(True, False) }}"

View File

@ -0,0 +1,8 @@
---
features:
- |
If the cinder backup service is enabled with
``cinder_service_backup_program_enabled: True``, then heat will be
configured to use the cinder backup service. The
``heat_cinder_backups_enabled`` variable will automatically be set to
``True``.