glance/api: cleanup on dbsync
authorEmilien Macchi <emilien@redhat.com>
Thu, 5 Jan 2017 17:09:37 +0000 (12:09 -0500)
committerEmilien Macchi <emilien@redhat.com>
Thu, 5 Jan 2017 17:09:37 +0000 (12:09 -0500)
Cleanup some code that were useful in the effort of removing Glance
Registry service from TripleO.

Change-Id: I2a4bdc413e953b8b713d9a12bba74ca18487fe0d

manifests/profile/base/glance/api.pp

index bfa9572..8945fff 100644 (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' :