You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
723 B
29 lines
723 B
# == Class: glance::wsgi
|
|
#
|
|
# Configure wsgi options
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*task_pool_threads*]
|
|
# (Optional) The number of thredas (per worker process) in the pool for
|
|
# processing asynchronous tasks.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
# [*python_interpreter*]
|
|
# (Optional) Path to the python interpreter to use when spawning external
|
|
# processes.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class glance::wsgi (
|
|
$task_pool_threads = $facts['os_service_default'],
|
|
$python_interpreter = $facts['os_service_default'],
|
|
) {
|
|
|
|
include glance::deps
|
|
|
|
glance_api_config {
|
|
'wsgi/task_pool_threads': value => $task_pool_threads;
|
|
'wsgi/python_interpreter': value => $python_interpreter;
|
|
}
|
|
}
|