Move db syncs into mysql base role
authorDan Prince <dprince@redhat.com>
Mon, 26 Sep 2016 16:48:49 +0000 (12:48 -0400)
committerDan Prince <dprince@redhat.com>
Tue, 27 Sep 2016 16:08:20 +0000 (12:08 -0400)
commitd6712e45e3db06b354a9f6ee46e237d5c40caff6
treee9a7015ca1101749d33f4272748a4bed56db787a
parent67b1edd0744830d43d700048da2683c6172e330b
Move db syncs into mysql base role

This patch moves the various DB syncs into the MySQL role.

Database creation needs to occur on the MySQL server to
avoid permission issues.

This patch also moves database creation to step 2 so we can
guarantee that all per-service databases exist at this time.
This avoids complex ordering needed during step 3 where
services, on different hosts, can run their own db sync's
in a distributed fashion.

Change-Id: I05cc0afa9373429a3197c194c3e8f784ae96de5f
Partial-bug: #1620595
16 files changed:
manifests/profile/base/aodh.pp
manifests/profile/base/ceilometer/collector.pp
manifests/profile/base/cinder/api.pp
manifests/profile/base/database/mysql.pp
manifests/profile/base/glance/registry.pp
manifests/profile/base/gnocchi/api.pp
manifests/profile/base/heat/engine.pp
manifests/profile/base/ironic.pp
manifests/profile/base/keystone.pp
manifests/profile/base/manila/api.pp
manifests/profile/base/mistral.pp
manifests/profile/base/neutron/server.pp
manifests/profile/base/nova/api.pp
manifests/profile/base/sahara/engine.pp
manifests/profile/base/trove/api.pp
manifests/profile/pacemaker/database/mysql.pp