Modified glance stores parameter values
authorPranaliD <pdeore@redhat.com>
Fri, 14 Jul 2017 07:57:00 +0000 (13:27 +0530)
committerPranaliD <pdeore@redhat.com>
Fri, 14 Jul 2017 08:01:40 +0000 (13:31 +0530)
The stores parameter should be set with the new parameters
as they are going to be deprecated in the old method.

Change-Id: If272345e96988778ceccb8f2f624db1c38aea365
Closes-Bug: 1704327

manifests/profile/base/glance/api.pp

index 2896185..d9c89d5 100644 (file)
@@ -127,12 +127,12 @@ class tripleo::profile::base::glance::api (
       }
     }
     case $glance_backend {
-        'swift': { $backend_store = 'glance.store.swift.Store' }
-        'file': { $backend_store = 'glance.store.filesystem.Store' }
-        'rbd': { $backend_store = 'glance.store.rbd.Store' }
+        'swift': { $backend_store = 'swift' }
+        'file': { $backend_store = 'file' }
+        'rbd': { $backend_store = 'rbd' }
         default: { fail('Unrecognized glance_backend parameter.') }
     }
-    $http_store = ['glance.store.http.Store']
+    $http_store = ['http']
     $glance_store = concat($http_store, $backend_store)
 
     # TODO: notifications, scrubber, etc.