Move nova::placement to common nova manifest

nova::placement needs to be declared on more than placement api node,
because credentials are used by different services (at least
nova-compute now).
This patch moves the class to base/nova.pp, at the same step.
So compute nodes will have the credentials and will be able to use
Placement API on multinode environments.

Change-Id: Iada8e9fcccec7dbfe7ac0ec0f9ec6eac1581290e
This commit is contained in:
Emilien Macchi 2017-01-19 11:30:35 -05:00
parent b8e4fbe838
commit 0ea2d528ce
2 changed files with 1 additions and 2 deletions

View File

@ -110,6 +110,7 @@ class tripleo::profile::base::nova (
}
if $step >= 4 {
include ::nova::placement
if $manage_migration {
class { '::nova::migration::libvirt':
configure_libvirt => $libvirt_enabled,

View File

@ -86,8 +86,6 @@ class tripleo::profile::base::nova::placement (
}
if $step >= 4 {
include ::nova::placement
class { '::nova::wsgi::apache_placement':
ssl_cert => $tls_certfile,
ssl_key => $tls_keyfile,