654 Commits

Author SHA1 Message Date
Takashi Kajinami
35cda0df7c Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.

Change-Id: I6179cb13a31e43343b20b9bb255716dc64ae00f7
2023-10-03 13:01:08 +09:00
Zuul
ea04b9980c Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:09:32 +00:00
Takashi Kajinami
193d0e6cd2 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I644af1c7d7f4721b200fc0b771ad84609e2eb4b6
2023-09-14 10:42:33 +09:00
Zuul
827d05b2f8 Merge "Do not restart services after policy file changes" 2023-09-11 03:41:08 +00:00
Takashi Kajinami
655b4a021f Exclude release note files
The directory contains the source files to generate the release note
document, so is not required.

Change-Id: I09373840d210027d55fd65e703dac4086b2b5c4f
2023-08-11 17:47:00 +09:00
Takashi Kajinami
5ea4741775 Add .pdkignore to exclude some files from tar ball
We've seen release job failures caused by too large tarball, which
contains irrelevant files like git history.

Let's exclude these files to reduce size of the archive.

The file is copied from the puppetlabs repositories with some files
specific to OpenStack projects added.

Change-Id: Id4cf5641b6f5bf466aa43344bea991037618571a
2023-08-11 00:40:37 +09:00
Takashi Kajinami
5e9c6de5aa Ensure purge_config takes a boolean value
The purge_config parameters only accept boolean values. This enforces
that using the typed parameters.

Change-Id: I1c48571be9068aa428bba38d99956a0f534888b9
2023-07-13 22:09:14 +09:00
Takashi Kajinami
f87f4629c1 Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.

Change-Id: Ie2ef0bd7f9b4ab7f60a976fe7832f49b288eca64
2023-07-13 11:54:46 +09:00
Zuul
fd5058341b Merge "Add per module policy service refresh" 2023-06-26 15:26:17 +00:00
Zuul
0827e06a1d Merge "authtoken: Make password required" 2023-06-25 22:52:10 +00:00
Tobias Urdin
366abb9ccd Add per module policy service refresh
Updating the policies for this project should only
refresh the services that reads it.

Change-Id: I7dc9f4a9849043624359eb97775af20d1885103a
2023-06-26 00:03:15 +02:00
Takashi Kajinami
8584eeb517 authtoken: Make password required
The password parameter is not really optional. This makes it
a required parameter to give more sensible validation error.

Change-Id: I77001fb010d5ec276cba1761e022f0037716bfa5
2023-06-23 10:21:44 +09:00
Takashi Kajinami
aa72e6bb13 Validate status of cron resource
This makes sure that the supported value is used for the parameters
which determine the ensure property of a cron resource type.

Change-Id: I8b87eef335274e2607b9d7fd1bf514648fc9e580
2023-06-22 16:18:20 +09:00
Zuul
c6eceb69f5 Merge "replace validate_legacy with proper data types" 2023-06-16 22:30:49 +00:00
Takashi Kajinami
c4ab7eb22a replace validate_legacy with proper data types
the validate_legacy function is marked for deprecation in
v9.0.0 from puppetlabs-stdlib.

Change-Id: I6a4e4fe824713a08839ab49f151415a9186a9a5a
2023-06-16 02:02:59 +09:00
Takashi Kajinami
0b1c3d9232 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I672ddf20550d4b7d0ec8d8faee72faaf9691754d
2023-05-22 03:20:26 +00:00
Takashi Kajinami
85c81d97ce Bump upper version of puppetlabs-inifile
... because now we use v6.0.0 in CI jobs.

Depends-on: https://review.opendev.org/880118
Change-Id: I5d802458e0c5c47eaba147f7ed59f6a3bd5bc99c
2023-04-14 11:43:21 +09:00
446b14a65d Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I0cd67cfae48dc072730c1e83d426d73b2efb8183
2023-04-05 15:28:13 +00:00
Takashi Kajinami
96427573ea Prepare 2023.1 release
Change-Id: I0bec4edfce8ccd7bdf5267299aa674915830db3a
22.0.0
2023-03-23 21:47:06 +09:00
Takashi Kajinami
bea839fe5a Add strict validation about boolean parameters
This ensures the parameters used by if-else logic accept only boolean
values because non-boolean can result in unexpected behavior.

Change-Id: I73444acddba8818dfcee5d2b2bca52c7e4cf3451
2023-03-03 04:37:10 +00:00
Takashi Kajinami
3bf38f8403 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I2a52329948becfcfb799f034847db9eae7bd903d
2023-03-01 16:47:43 +09:00
Takashi Kajinami
df3fce9e6b Expose policy_default_rule
The option has been managed by the underlying puppet-oslo module but
has not been configurable. This introduces the parameter to customize
the option.

Change-Id: I8c02a3651cf6a749e1039b0a3a9b92800fb4a79e
2023-01-23 14:27:43 +09:00
Takashi Kajinami
c2f586d2ad Switch to Ubuntu Jammy (22.04)
... because Focal no longer supports the recent releases such as Zed.

Change-Id: I5ccadd4a868eb456b4a2fc176736176bd7b08cb8
2023-01-11 16:57:04 +09:00
Takashi Kajinami
551bf848e1 Remove cleanup of [DEFAULT] evaluation_interval
This logic was added during the previous cycle by [1].

This old parameter should be removed when a deployment is upgraded to
Zed, thus we no longer need this cleanup beyond Zed.

[1] c58c36d92741bd41fda663d5765d9136399a77b5

Change-Id: Ic791e5b597d4b702241d7938ed8d0c0f37f2e7ff
2022-11-18 11:19:45 +09:00
9277734b9d Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I2a5f11d60137708b6e5e1e5aeac58712010cf269
2022-10-20 11:01:25 +00:00
Takashi Kajinami
a1f3b1b006 Prepare Zed RC1
Change-Id: I0215572acb732caf3f0e873ad3feaeb460e119eb
21.0.0
2022-10-05 18:08:15 +09:00
Takashi Kajinami
e59df58cdd Enable memcached and redis in acceptance tests
... because these are required as cache/coordination backend.

Change-Id: I0ece8d5053b41a86a59edd439917735c01023bd0
2022-08-31 00:49:10 +09:00
Zuul
b6926f0cf3 Merge "Use standard parameter description format for wsgi::apache" 2022-08-26 17:22:32 +00:00
Zuul
cf03bf3dda Merge "Add Apache WSGI logging parameters for pipe/syslog" 2022-08-26 17:22:30 +00:00
Takashi Kajinami
86d8f81e0d Use standard parameter description format for wsgi::apache
Currently parameter description of the <module>::wsgi::apache classes
are formatted differently in individual modules, and this is making
the maintenance effort quite difficult.

This change updates the description format following the srandard one
we are globally using in our modules to reduce undesired differences
between modules.

Change-Id: Ie874d47e7c9c37da642c2cc5d9c46e385e7cc176
2022-08-26 15:31:17 +09:00
Takashi Kajinami
c8c59f1e9a Add Apache WSGI logging parameters for pipe/syslog
Add parameters for advanced logging configurations in Apache to
support piped logging and support for syslog (via mod_syslog
available in Apache >= 2.5.0)

Co-Authored-By: Andy Botting <andy@andybotting.com>
Change-Id: I16c7a6407d647a25d6093239b30845a212202a5c
2022-08-26 14:31:43 +09:00
Takashi Kajinami
6212bb5ea8 Use openstack_spec_helper from zuul checkout
Change-Id: I9b8c3210a1e69592872a57daeeb74c5d7e67bf2a
Co-Authored-By: Tobias Urdin <tobias.urdin@binero.se>
2022-08-23 14:41:46 +09:00
Zuul
c64f4251c5 Merge "Remove deprecated aodh::evaluator::coordination_url" 2022-08-12 08:10:07 +00:00
Zuul
99307d1bf1 Merge "Adapt to new type validation in puppetlabs-apache" 2022-08-08 19:25:54 +00:00
Takashi Kajinami
97682cfa99 Remove deprecated aodh::evaluator::coordination_url
... because it was deprecated during Xena cycle[1] in favor of the new
aodh::coordination class.

[1] 16091c8dd6f97f55fb7875e7843f3de7017a99ce

Change-Id: I0e11987c7d121b2fb639274ed60181c56ce4f6d1
2022-08-05 01:15:54 +09:00
Takashi Kajinami
976196bce3 Adapt to new type validation in puppetlabs-apache
The puppetlabs-apache module is enforcing more strict data type
validation[1].

This change updates the default values to adapt to that change.

[1] f41251e336

Closes-Bug: #1983300
Depends-on: https://review.opendev.org/851652
Change-Id: I9261c53fdb930fd9ff5e2c06e91eb312d665bb9a
2022-08-02 14:38:30 +09:00
Zuul
6b33b3226b Merge "Expose headers option of apache::vhost" 2022-07-30 15:16:12 +00:00
Takashi Kajinami
358924dbca Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 0f1d26cdb67f4561be291db65cd4574ac0615cb5.

Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).

Note:
This change adds the service_provider fact in test fact data because
it is required by puppet-postgresql.

Depends-on: https://review.opendev.org/850705
Change-Id: Id71237bc97e04f6c83403f60605d3bff44bc944a
2022-07-24 00:23:49 +09:00
Zuul
8dd89d5aa2 Merge "Add acceptance tests for config management resources" 2022-07-15 20:28:16 +00:00
Zuul
43b8f9a682 Merge "Switch provider to manage paste.ini file" 2022-07-15 20:28:14 +00:00
Takashi Kajinami
1e06f1f762 Fix wrong test description
The value with a white space should be accepted instead of being
rejected. This change fixes the wrong test case description and makes
sure the description explains what is actually tested.

Change-Id: I15addb494305b5576bc9a19078ededf962bc0dd7
2022-07-11 23:24:04 +09:00
Takashi Kajinami
a1f73ef040 Add acceptance tests for config management resources
Change-Id: Id133526308d84a45ba234b8dbef392aff784ade5
2022-07-10 12:33:01 +09:00
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
0c8d02c758 Expose headers option of apache::vhost
The headers option in apache::vhost is required in some case, for
example when adding the X-XSS-Protection header. This change allows
customizing the option for the api vhost.

This change also adds support for request_headers so that both request
headers and response headers can customized.

Change-Id: I857407802617087f75334c8357055250dcd4cef5
2022-06-30 08:20:42 +09:00
Rajesh Tailor
8b29e4b5ab Fix typos in parameter descriptions
Change-Id: I643cc6b6cc85c1c3fc9d4803ebbf56ed1c40da5c
2022-06-17 13:02:21 +05:30
Takashi Kajinami
c58c36d927 Update section of the evaluation_interval parameter
The evaluation_interval parameter in the [DEFAULT] section has been
deprecated and it was migrated to the [evaluator] section.

This change updates the parameter section accordingly.

Depends-on: https://review.opendev.org/837864
Change-Id: If41e9e21771ea236ec18379790fe5427dcb6e8af
2022-06-13 17:08:13 +09:00
Zuul
7d37513d7e Merge "Remove support for CentOS 8 Stream" 2022-06-01 04:57:21 +00:00
Takashi Kajinami
a75ec4ed66 Remove support for CentOS 8 Stream
... because RDO will provide packages for only CentOS Stream 9 for Zed
release. This change removes RHEL 8 as well.

Depends-on: https://review.opendev.org/843503
Change-Id: I7058aa282e76171a701d6cf8bce8b2218d7e6e8d
2022-05-27 02:20:58 +09:00
Takashi Kajinami
cc2cec0491 coordination: Remove deprecated heartbeat
The parameter was deprecated during Yoga cycle[1] in favor of the new
heartbeat_interval parameter.

[1] 49eb825204860d8465158a41c84f6af558a67b41

Change-Id: I03d217663445001fc48f9192774ae6b680d2d7f9
2022-05-20 00:33:03 +09:00
Takashi Kajinami
4ec7119fc6 apache+mod_wsgi: Disable SSL by default
During the previous cycle, a warning message was added to inform users
of this change.

Now the default value is updated so that SSL is disabled by default.

Change-Id: I0f05258885570637aa9d53b2d6a69c1756f375e9
2022-05-06 20:35:57 +09:00