diff options
author | Giulio Fidente <gfidente@redhat.com> | 2016-04-22 19:19:33 +0200 |
---|---|---|
committer | Giulio Fidente <gfidente@redhat.com> | 2016-04-22 19:19:33 +0200 |
commit | efadbd85a444851a83e3ebed42b4dab36e9c784f (patch) | |
tree | cc3fc74191acaf6b9b52f3ddea41973d0e12fdcc /puppet/manifests | |
parent | f7113ee7b0e2c84779ae88ab927b95426c10d4a0 (diff) |
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
Diffstat (limited to 'puppet/manifests')
-rw-r--r-- | puppet/manifests/overcloud_controller_pacemaker.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/manifests/overcloud_controller_pacemaker.pp b/puppet/manifests/overcloud_controller_pacemaker.pp index b3b6ce54..0372a56b 100644 --- a/puppet/manifests/overcloud_controller_pacemaker.pp +++ b/puppet/manifests/overcloud_controller_pacemaker.pp @@ -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 { |