From 5ad9778b467a23aca5d62fd080779382e8267cca Mon Sep 17 00:00:00 2001 From: Martin André Date: Tue, 30 Aug 2016 16:09:24 +0200 Subject: Manage tripleo-ui configuration files with puppet This commit ensures the tripleo-ui configuration files are present and are matching the environment. Change-Id: I0deeffa9026b1f5cd36a9810aaee7832e31c3c93 --- templates/ui/tripleo_ui_config.js.erb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/ui/tripleo_ui_config.js.erb (limited to 'templates') diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb new file mode 100644 index 0000000..aca21cd --- /dev/null +++ b/templates/ui/tripleo_ui_config.js.erb @@ -0,0 +1,14 @@ +window.tripleOUiConfig = { + "keystone": "<%= @keystone_url %>", + + // The UI automatically discovers below URLs by querying keystone but can be + // changed here if desired. + //"heat": "<%= @heat_url %>", + //"ironic": "<%= @ironic_url %>", + //"mistral": "<%= @mistral_url %>", + //"swift": "<%= @swift_url %>", + //"zaqar_websocket_url": "<%= @zaqar_websocket_url %>", + + // Default websocket queue name + "zaqar_default_queue": "<%= @zaqar_default_queue %>" +}; -- cgit 1.2.3-korg