Run sync in step 3 when $sync_db

This will configure the openstack services and run the initial
db sync in step 3 (instead of step 4) for the node for which
$sync_db is true.

Closes-Bug: #1572952
Change-Id: I29012ee0a8b281e4472353ee7d9d44912e8a9b6c
This commit is contained in:
Giulio Fidente 2016-04-22 19:19:33 +02:00
parent f7113ee7b0
commit efadbd85a4

View File

@ -473,7 +473,7 @@ MYSQL_HOST=localhost\n",
} #END STEP 2
if hiera('step') >= 4 {
if hiera('step') >= 4 or ( hiera('step') >= 3 and $sync_db ) {
$nova_ipv6 = hiera('nova::use_ipv6', false)
if $nova_ipv6 {