From 4a3033d39328449ae0f0abc711bd8ceec5fb9d5b Mon Sep 17 00:00:00 2001
From: Michael Gugino <mgugino@redhat.com>
Date: Mon, 13 Nov 2017 13:17:06 -0500
Subject: Fix extension script for catalog

Currently, playbook wire_aggregator places an empty
plugin script for openshift master called
openshift-ansible-catalog-console.js

This file should not be empty if using template_service_broker.

I have updated this file to include a boolean and the proper
string.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1506502
---
 .../openshift-master/templates/openshift-ansible-catalog-console.js      | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 playbooks/common/openshift-master/templates/openshift-ansible-catalog-console.js

(limited to 'playbooks/common/openshift-master/templates')

diff --git a/playbooks/common/openshift-master/templates/openshift-ansible-catalog-console.js b/playbooks/common/openshift-master/templates/openshift-ansible-catalog-console.js
new file mode 100644
index 000000000..fd02325ba
--- /dev/null
+++ b/playbooks/common/openshift-master/templates/openshift-ansible-catalog-console.js
@@ -0,0 +1 @@
+window.OPENSHIFT_CONSTANTS.TEMPLATE_SERVICE_BROKER_ENABLED = {{ 'true' if (template_service_broker_install | default(True)) else 'false' }};
-- 
cgit v1.2.3