aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/database
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-28 09:29:57 +0000
committerGerrit Code Review <review@openstack.org>2016-09-28 09:29:57 +0000
commit7ac0d1c76a27b790bb0f1ce6255ba73d13f0bf73 (patch)
tree1f396f1a0191411332222b21ee6dc83448023259 /manifests/profile/pacemaker/database
parent44ad407272f8d0703a95411311b9cff04d5b00b2 (diff)
parentd6712e45e3db06b354a9f6ee46e237d5c40caff6 (diff)
Merge "Move db syncs into mysql base role"
Diffstat (limited to 'manifests/profile/pacemaker/database')
-rw-r--r--manifests/profile/pacemaker/database/mysql.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/profile/pacemaker/database/mysql.pp b/manifests/profile/pacemaker/database/mysql.pp
index 477d17c..0169e16 100644
--- a/manifests/profile/pacemaker/database/mysql.pp
+++ b/manifests/profile/pacemaker/database/mysql.pp
@@ -130,6 +130,11 @@ class tripleo::profile::pacemaker::database::mysql (
table => '*.*',
user => 'clustercheck@localhost',
}
+
+ # We create databases for services at step 2 as well. This ensures
+ # Galara is up before those get created
+ Exec['galera-ready'] -> Mysql_database<||>
+
}
# This step is to create a sysconfig clustercheck file with the root user and empty password
# on the first install only (because later on the clustercheck db user will be used)