Use THT to define cell0 creation

As part of the initial implementation, we hard coded the cell0 setup in
puppet. This change switches it to leverage the defined value in the
tripleo-heat-templates

Change-Id: I896a124d91d06ca85b77c9fbe24fd252815a2d28
Depends-On: I08119d781ef60750cc19753bc03190e413159925
Related-Bug: #1649341
This commit is contained in:
Alex Schultz 2017-01-03 14:19:45 -07:00 committed by Dan Prince
parent 17fbadba7d
commit 77cd102c9a
1 changed files with 1 additions and 4 deletions

View File

@ -232,10 +232,7 @@ class tripleo::profile::base::database::mysql (
$messaging_use_ssl_real = sprintf('%s', bool2num(str2bool(
pick($nova_messaging_use_ssl, hiera('nova::rabbit_user_ssl', '0')))))
# TODO(aschultz): switch this back to an include once setup_cell0 in THT
class { '::nova::db::mysql_api':
setup_cell0 => true,
}
include ::nova::db::mysql_api
class { '::nova::db::sync_cell_v2':
transport_url => os_transport_url({
'transport' => $messaging_driver_real,