diff options
author | Flavio Percoco <flaper87@gmail.com> | 2016-12-07 15:16:41 +0100 |
---|---|---|
committer | Flavio Percoco <flaper87@gmail.com> | 2016-12-07 15:19:38 +0100 |
commit | a102d35f12e75bbf7fa9c5f91aeaef145f203143 (patch) | |
tree | c64cb486a0db067c39afa862e64cd7eb0a219619 /spec/classes | |
parent | 77c1ca1243fbc38210e9f6264c5c36b546d1a95a (diff) |
Create Glance's database if glance-api is enabled
Instead of checking for glance_registry_enabled, we should be checking
for glance_api_enabled. The glance-api v1 depends on the registry, which
means the database will be created but glance-api v2 doesn't which means
that not deploying the registry would result in the glance database not
being created. On the other hand, glance-registry is never deployed
without glance-api
Change-Id: Ief25dafb65f7a043fbb3d16f1d7ef834c9947a93
Diffstat (limited to 'spec/classes')
0 files changed, 0 insertions, 0 deletions