Commit Graph

9 Commits

Author SHA1 Message Date
Takashi Kajinami 31edf99255 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: I56633cf5066f6608d1c61c19a956ebbad7cd9409
2022-07-09 10:03:37 +00:00
Takashi Kajinami e9a758a6f9 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: I843154a46ac61c8ea54a7b28a42ad154568a845e
2021-10-15 12:03:17 +09:00
Takashi Kajinami 02194e0ffc Add support for MultiStrOpt
This replaces the provider implementation of aodh_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: I9e7514e4eb39090fb77379a9e44ed5ffed937f38
2021-07-13 17:47:29 +09:00
Thomas Goirand ef9d67832a 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: Ibd5f33715c856aba5a6c34b74d3d49ceb09e5f28
2021-06-10 15:07:18 +00:00
Thomas Goirand c43377b32c Add support for aodh_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
aodh_api_uwsgi_config provider as well as a new
aodh::wsgi::uwsgi class.

Change-Id: Ib00be314fe5abc262d4c35f5fbc5612fcd18972d
2021-04-12 19:36:25 +02:00
Takashi Kajinami 6431321eee Use anchor to require necessary packages
... so that correct packages are required without re-defining them in
resource implementations.

Change-Id: I25f0aa5e0b8c8847627e37c396285131df6a2696
2020-05-04 01:43:28 +09:00
ZhongShengping 61aadfc5dd Fix filename of api_paste.ini
Change-Id: Ib5120da8ae706a1314700364597d53071e48607b
Closes-Bug: #1706473
2017-07-26 09:26:33 +08:00
ZhongShengping d1d508a636 Add api_paste type/provider for aodh
Add aodh_api_paste_ini type/provider for aodh.
Also add the capability to configure api_paste.ini with config.pp.
Closes-Bug:1483371

Change-Id: Ia083df99901ccae646d5cc3c6414a3f126f1eac2
2016-05-10 23:15:20 +08:00
Emilien Macchi ca85542cc2 puppet-aodh: Initial commit
This is the initial commit for puppet-aodh.
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: I17611e8608931cf69b8d9891620e901a8936e19e
2015-10-01 09:35:49 -04:00