aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-01-05 12:09:37 -0500
committerEmilien Macchi <emilien@redhat.com>2017-01-05 12:09:37 -0500
commita59aa24ad3b3bb3acbdedffd34c8e082d971a7a5 (patch)
treecd9ec47a5fc125f01412af10f61cc8eb78e207db /manifests/profile/base
parent20ee458484b150e4f79044e3040dc9f0af0933bc (diff)
glance/api: cleanup on dbsync
Cleanup some code that were useful in the effort of removing Glance Registry service from TripleO. Change-Id: I2a4bdc413e953b8b713d9a12bba74ca18487fe0d
Diffstat (limited to 'manifests/profile/base')
-rw-r--r--manifests/profile/base/glance/api.pp9
1 files changed, 1 insertions, 8 deletions
diff --git a/manifests/profile/base/glance/api.pp b/manifests/profile/base/glance/api.pp
index bfa9572..8945fff 100644
--- a/manifests/profile/base/glance/api.pp
+++ b/manifests/profile/base/glance/api.pp
@@ -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' :