Modified glance stores parameter values
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
This commit is contained in:
parent
c4262a48c6
commit
acafaf0bde
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user