Include cors modules for Nova, Ironic Inspector

This will resolve issues in using/developing the TripleO UI
from non-local hosts.

Change-Id: Ic897f56d8fdb4221d73821712de8bcab9ac384ec
Closes-bug: #1756543
This commit is contained in:
Dan Prince
2018-03-17 09:18:09 -04:00
parent 23a311f6ca
commit 7c234ba0bc
2 changed files with 2 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ class tripleo::profile::base::ironic_inspector (
}
if $step >= 4 or ($step >= 3 and $sync_db) {
include ::ironic::inspector::cors
class { '::ironic::inspector':
sync_db => $sync_db,
}

View File

@@ -118,6 +118,7 @@ class tripleo::profile::base::nova::api (
sync_db => $sync_db,
sync_db_api => $sync_db,
}
include ::nova::cors
include ::nova::network::neutron
}
# Temporarily disable Nova API deployed in WSGI