cache: Update with new param: memcache_servers
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
parent
7610b787ee
commit
6c65c87339
@ -35,7 +35,7 @@
|
||||
# (optional) Password to connect to keystone database
|
||||
# Default value in params
|
||||
#
|
||||
# [*keystone_memcached*]
|
||||
# [*memcache_servers*]
|
||||
# (optional) Memcached servers used by Keystone. Should be an array.
|
||||
# Default value in params
|
||||
#
|
||||
@ -257,8 +257,7 @@ class privatecloud::identity (
|
||||
$keystone_db_host = $os_params::keystone_db_host,
|
||||
$keystone_db_user = $os_params::keystone_db_user,
|
||||
$keystone_db_password = $os_params::keystone_db_password,
|
||||
#TODO(EmilienM) Drop this param and use a more general, like "memcached_severs"
|
||||
$keystone_memcached = $os_params::keystone_memcached,
|
||||
$memcache_servers = $os_params::memcache_servers,
|
||||
$ks_admin_email = $os_params::ks_admin_email,
|
||||
$ks_admin_password = $os_params::ks_admin_password,
|
||||
$ks_admin_tenant = $os_params::ks_admin_tenant,
|
||||
@ -327,7 +326,7 @@ class privatecloud::identity (
|
||||
debug => $debug,
|
||||
idle_timeout => 60,
|
||||
log_facility => 'LOG_LOCAL0',
|
||||
memcache_servers => $keystone_memcached,
|
||||
memcache_servers => $memcache_servers,
|
||||
sql_connection => "mysql://${encoded_user}:${encoded_password}@${keystone_db_host}/keystone",
|
||||
token_driver => 'keystone.token.backends.memcache.Token',
|
||||
token_format => 'UUID',
|
||||
|
@ -17,16 +17,16 @@
|
||||
#
|
||||
|
||||
class privatecloud::object::controller(
|
||||
$ks_keystone_admin_host = $os_params::ks_keystone_admin_host,
|
||||
$ks_keystone_admin_port = $os_params::ks_keystone_admin_port,
|
||||
$ks_keystone_internal_host = $os_params::ks_keystone_internal_host,
|
||||
$ks_keystone_internal_port = $os_params::ks_keystone_internal_port,
|
||||
$ks_keystone_admin_host = $os_params::ks_keystone_admin_host,
|
||||
$ks_keystone_admin_port = $os_params::ks_keystone_admin_port,
|
||||
$ks_keystone_internal_host = $os_params::ks_keystone_internal_host,
|
||||
$ks_keystone_internal_port = $os_params::ks_keystone_internal_port,
|
||||
$ks_swift_dispersion_password = $os_params::ks_swift_dispersion_password,
|
||||
$ks_swift_internal_port = $os_params::ks_swift_internal_port,
|
||||
$ks_swift_password = $os_params::ks_swift_password,
|
||||
$statsd_host = $os_params::statsd_host,
|
||||
$statsd_port = $os_params::statsd_port,
|
||||
$swift_memchached = $os_params::swift_memchached
|
||||
$ks_swift_internal_port = $os_params::ks_swift_internal_port,
|
||||
$ks_swift_password = $os_params::ks_swift_password,
|
||||
$statsd_host = $os_params::statsd_host,
|
||||
$statsd_port = $os_params::statsd_port,
|
||||
$memcache_servers = $os_params::memcache_servers
|
||||
) {
|
||||
|
||||
include 'privatecloud::object'
|
||||
@ -53,7 +53,7 @@ log_statsd_default_sample_rate = 1
|
||||
|
||||
class{'swift::proxy::cache':
|
||||
memcache_servers => inline_template(
|
||||
'<%= scope.lookupvar("swift_memchached").join(",") %>'),
|
||||
'<%= scope.lookupvar("memcache_servers").join(",") %>'),
|
||||
}
|
||||
class { 'swift::proxy::proxy-logging': }
|
||||
class { 'swift::proxy::healthcheck': }
|
||||
|
Loading…
x
Reference in New Issue
Block a user