Commit Graph

9 Commits

Author SHA1 Message Date
Takashi Kajinami 451726b3c6 Switch provider to manage paste.ini file
... so that we users can use '<SERVICE DEFAULT>' similarly to
the resource types to manage the <service>.conf files.

Closes-Bug: #1981118
Change-Id: I4a8615334919abcdd30596ee68142c8cdb2a1eae
2022-07-09 13:29:58 +00:00
Zuul 61e2f535ad Merge "Add support for MultiStrOpt" 2022-02-15 09:16:59 +00:00
Takashi Kajinami 7c80854c17 Allow customizing separator for api-paste.ini
The api-paste.ini accepts not only "=" but also ":" and some services
like Barbican have been using ":" for their default api-paste.ini
files.

[composite:main]
use = egg:Paste#urlmap
/: barbican_version
/v1: barbican-api-keystone

This change allows users to use ":" so that they can update the ini
files with keeping it consistent with the default fules

Depends-on: https://review.opendev.org/813614
Change-Id: I3c357f6188cdd60e6bb799063e76a600d885aa54
2022-02-13 01:34:44 +09:00
Takashi Kajinami b13a35dd3a Add support for MultiStrOpt
This replaces the provider implementation of cloudkitty_config type so
that MultiStrOpt, which is used by several options like
 - oslo_messaging_notifications/driver
 - oslo_policy/policy_dirs
are handled correctly.

Change-Id: Iefdfa5b83cb1f5ff691cc38e0f691babac9bdfb0
2022-02-13 00:22:44 +09:00
Thomas Goirand 4c43a1e29b Debian api_uwsgi_config: Switch to :ini_setting
On each puppet run, I'm seeing:
value changed ['12'] to '12' (corrective)

Therefore, this patch switches from :openstackconfig to :ini_setting
to make the 2nd run not changing anything.

Change-Id: Ie388eb22a0c75d590c0e853064ed2f6f34e3abeb
2021-04-21 18:15:41 +02:00
Thomas Goirand 36bf4eefc5 Add support for cloudkitty_api_uwsgi_config in Debian
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
2021-04-12 21:13:04 +02:00
Takashi Kajinami 345638b937 Use anchor to require necessary packages
... so that correct packages are required without re-defining them in
resource implementations.

Change-Id: Ic3ff8a7555d1fadc9ecb01c00d9dd3b6eb7f5e4b
2020-05-04 14:54:07 +09:00
ZhongShengping e7ab4ec0d7 Add api_paste type/provider for cloudkitty
Add cloudkitty_api_paste_ini type/provider for cloudkitty.
Also add the capability to configure api_paste.ini with config.pp.

Change-Id: Ie1284e7b8e6f92d4a1f04935b7720840a5415b51
Closes-Bug: #1483371
2017-07-26 11:34:12 +08:00
Xingchao Yu 78f52ecfac This is the initial commit for puppet-cloudkitty.
It has been automatically generated using cookiecutter[1] and msync[2].

[1] https://github.com/openstack/puppet-openstack-cookiecutter
[2] https://github.com/openstack/puppet-modulesync-configs

Change-Id: I43e8be43f6c77d55ff0c5879344020942eb9cf43
2016-10-20 10:53:32 +08:00