Sync the db as part of the glance-api install
authorFlavio Percoco <flaper87@gmail.com>
Wed, 7 Dec 2016 14:38:28 +0000 (15:38 +0100)
committerEmilien Macchi <emilien@redhat.com>
Wed, 4 Jan 2017 14:41:51 +0000 (09:41 -0500)
commitb09f7a6c80de65c53c8af3a3a84024a19fa320fe
treef3a01b2175132e0b0f0c47fab0f5817f5e2487f5
parent71af301fc5c60c1cccb66dbfc630713c947a94d3
Sync the db as part of the glance-api install

The glance database should be created as part of the glance-api service
installation and not the registry. Move the db_sync param to the
glance-api class call.

Change-Id: Ib9f511219e8cb9a7322745b6bd7c4f9c9cc0c198
manifests/profile/base/glance/api.pp
manifests/profile/base/glance/registry.pp