
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 Aodh API. Therefore, this patch adds a new cloudkitty_api_uwsgi_config provider as well as a new cloudkitty::wsgi::uwsgi class. Change-Id: I5d0635800d26327fbdbaa33299927f92eb651fc8
11 lines
228 B
Ruby
11 lines
228 B
Ruby
Puppet::Type.type(:cloudkitty_api_uwsgi_config).provide(
|
|
:openstackconfig,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/cloudkitty/cloudkitty-api-uwsgi.ini'
|
|
end
|
|
|
|
end
|