
This patch is adding the configuration of the number of workers, threads, and the size of the listen queue in Debian, which uses uwsgi to run Nova API and api-metadata. Therefore, this patch adds two new nova_api_uwsgi_config and nova_api_metadata_uwsgi_config providers as well as two new nova::wsgi::uwsgi_api and nova::wsgi::uwsgi_api_metadata classes. Change-Id: Idd141edc5cddcfd79cf23e2041dbd1ce6a8252a8
11 lines
228 B
Ruby
11 lines
228 B
Ruby
Puppet::Type.type(:nova_api_metadata_uwsgi_config).provide(
|
|
:openstackconfig,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/nova/nova-api-metadata-uwsgi.ini'
|
|
end
|
|
|
|
end
|