From b03906dd8baac075458c930b4f9430ed5666b904 Mon Sep 17 00:00:00 2001
From: Paul Bourke <paul.bourke@oracle.com>
Date: Tue, 14 Mar 2017 14:15:43 +0000
Subject: [PATCH] Enable horizon_backend_database if murano is enabled

Change-Id: I0eed4024b4ca86e458d92bd9703fb4a02feee947
Closes-Bug: #1666618
---
 ansible/group_vars/all.yml | 2 +-
 etc/kolla/globals.yml      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index 75b0c3bf80..fda731afac 100644
--- a/ansible/group_vars/all.yml
+++ b/ansible/group_vars/all.yml
@@ -483,7 +483,7 @@ nova_backend: "{{ 'rbd' if nova_backend_ceph | bool else 'default' }}"
 #######################
 # Horizon options
 #######################
-horizon_backend_database: "no"
+horizon_backend_database: "{{ enable_murano | bool }}"
 
 #################
 # Octavia options
diff --git a/etc/kolla/globals.yml b/etc/kolla/globals.yml
index dbb5348a6d..a36867168d 100644
--- a/etc/kolla/globals.yml
+++ b/etc/kolla/globals.yml
@@ -280,7 +280,7 @@ designate_ns_record: "sample.openstack.org"
 ##############################
 # Horizon - Dashboard Options
 ##############################
-#horizon_backend_database: "no"
+#horizon_backend_database: "{{ enable_murano | bool }}"
 
 
 #######################################