Glance-API: add HTTP to glance known stores

In Juno, HTTP store is not enabled by default.
Let's enable HTTP it by default so we can create an image from an URL.

Change-Id: I893d493bac57f21b1a2174a21f8de132bf2bf830
This commit is contained in:
Emilien Macchi 2015-02-18 09:13:24 -05:00
parent 06d33d63da
commit 212a3e164f
2 changed files with 4 additions and 4 deletions

View File

@ -106,9 +106,9 @@
#
# [*known_stores*]
# (optionnal) Tell to Glance API which backends can be used
# Can be 'rbd', 'file', or and 'swift'.
# Can be 'rbd', 'http', 'file', or and 'swift'.
# Should be an array.
# Defaults to ['rbd']
# Defaults to ['rbd', 'http']
#
# [*filesystem_store_datadir*]
# (optional) Full path of data directory to store the images.
@ -157,7 +157,7 @@ class cloud::image::api(
$log_facility = 'LOG_LOCAL0',
$use_syslog = true,
$backend = 'rbd',
$known_stores = ['rbd'],
$known_stores = ['rbd', 'http'],
$filesystem_store_datadir = '/var/lib/glance/images/',
$nfs_device = false,
$nfs_options = 'defaults',

View File

@ -71,7 +71,7 @@ describe 'cloud::image::api' do
:pipeline => 'keystone',
:log_dir => false,
:log_file => false,
:known_stores => ['rbd'],
:known_stores => ['rbd','http'],
)
end