diff options
author | 2016-08-30 16:09:24 +0200 | |
---|---|---|
committer | 2016-09-16 14:11:14 +0200 | |
commit | 5ad9778b467a23aca5d62fd080779382e8267cca (patch) | |
tree | 61a91e8f533c8f6604d6fb710adb876e1ee0f139 /templates/ui | |
parent | 48f965b5edd35f0dae32acf88afa78eef26f6438 (diff) |
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
Diffstat (limited to 'templates/ui')
-rw-r--r-- | templates/ui/tripleo_ui_config.js.erb | 14 |
1 files changed, 14 insertions, 0 deletions
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 %>" +}; |