Before the roles we could make the create db operation depend on a
'galera-ready' resource [1]. We can't do it anymore from the role so
we need to do create in step 3, when we do sync as well.
1. https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/manifests/overcloud_controller_pacemaker.pp#L382
Change-Id: Id065a9180f1f1a41ab225ec5f755498ec7d9a827
$glance_backend = downcase(hiera('glance_backend', 'swift')),
) {
- if $step >= 2 and $sync_db {
+ if $step >= 3 and $sync_db {
include ::glance::db::mysql
}
$step = hiera('step'),
) {
- if $step >= 2 and $sync_db {
+ if $step >= 3 and $sync_db {
include ::keystone::db::mysql
}