003b8d6ab6
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 Cinder API. Therefore, this patch adds a new cinder_api_uwsgi_config provider as well as a new cinder::wsgi::uwsgi class. Change-Id: I6f4c6a51f8e33616069411a926a63ba2b388e25d
11 lines
219 B
Ruby
11 lines
219 B
Ruby
Puppet::Type.type(:cinder_api_uwsgi_config).provide(
|
|
:ini_setting,
|
|
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
|
) do
|
|
|
|
def self.file_path
|
|
'/etc/cinder/cinder-api-uwsgi.ini'
|
|
end
|
|
|
|
end
|