Merge pull request #674 from enovance/disable-glance-cache

Remove Glance cache
This commit is contained in:
Emilien Macchi 2014-10-09 16:53:12 -04:00
commit 12f76f4afd
2 changed files with 8 additions and 0 deletions

View File

@ -87,6 +87,11 @@
# Example: 'nfsvers=3,noacl'
# Defaults to 'defaults'
#
# [*pipeline*]
# (optional) Partial name of a pipeline in your paste configuration file with the
# service name removed.
# Defaults to 'keystone'.
#
class cloud::image::api(
$glance_db_host = '127.0.0.1',
$glance_db_user = 'glance',
@ -112,6 +117,7 @@ class cloud::image::api(
$filesystem_store_datadir = '/var/lib/glance/images/',
$nfs_device = false,
$nfs_options = 'defaults',
$pipeline = 'keystone',
) {
# Disable twice logging if syslog is enabled
@ -154,6 +160,7 @@ class cloud::image::api(
bind_host => $api_eth,
bind_port => $ks_glance_api_internal_port,
use_syslog => $use_syslog,
pipeline => 'keystone',
}
# TODO(EmilienM) Disabled for now

View File

@ -64,6 +64,7 @@ describe 'cloud::image::api' do
:bind_host => '10.0.0.1',
:bind_port => '9292',
:use_syslog => true,
:pipeline => 'keystone',
:log_dir => false,
:log_file => false
)