glance/api: cleanup on dbsync

Cleanup some code that were useful in the effort of removing Glance
Registry service from TripleO.

Change-Id: I2a4bdc413e953b8b713d9a12bba74ca18487fe0d
This commit is contained in:
Emilien Macchi 2017-01-05 12:09:37 -05:00
parent 20ee458484
commit a59aa24ad3

View File

@ -77,14 +77,7 @@ class tripleo::profile::base::glance::api (
include ::glance::config
class { '::glance::api':
stores => $glance_store,
sync_db => false,
}
# When https://review.openstack.org/#/c/408554 is merged,
# Remove this block and set sync_db to $sync_db in glance::api.
if $sync_db {
class { '::glance::db::sync':
extra_params => '',
}
sync_db => $sync_db,
}
$rabbit_endpoints = suffix(any2array($rabbit_hosts), ":${rabbit_port}")
class { '::glance::notify::rabbitmq' :