7 Commits

Author SHA1 Message Date
Takashi Kajinami
b127278fba Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit c81789d4c77f570247b1d7e82f9049aabc185c7f.

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: I49370fa9c9fab9b95e8f7217c8cc63a9ec55e347
2022-07-24 00:48:03 +09:00
Takashi Kajinami
c81789d4c7 CentOS 9: Disable unit tests dependent on puppet-postgresql
The puppt-postgresql module does not support CentOS 9 yet and requires
some version parameters to be run on CentOS 9. This change disables
unit tests requiring that module, until the module supports CentOS 9.

Change-Id: I58f9719cfcd2b823c66de70b2109e0481baf767c
2022-02-16 00:24:53 +09:00
ZhongShengping
689e2f2c4e Include deps class in unit test for postgresql
Change-Id: Ic39fe9a010429e40bd86efbca412842870713fd3
2020-10-10 09:31:12 +08:00
Takashi Kajinami
4e7d912fde Remove password hash generation in each puppet modules
... and migrate it to openstacklib so that all logics about database
configuration are implemented in one common place.

Depends-on: https://review.opendev.org/#/c/728595/
Change-Id: I6b4f8479030b28957c540c5f0775d5f799dff5dd
2020-05-19 20:21:41 +09:00
Maksym Yatsenko
18befb1945 Change worker defaults to ::os_workers
This patch changes the default worker count from ::processorcount to the
new ::os_workers fact. ::os_workers is based on the number of processors
(currently cpu/4) but is capped at a maximum of 8 worker processors.
This is a much more reasonable default in general and prevents excessive
resource consumption on systems with a large number of CPUs.

Change-Id: I3d198132ab50f686e1921bfeaa73188ea7d67116
2016-10-07 13:41:15 +03:00
ZhongShengping
c67c2017e1 Test multiple operating systems for db
This change updates the tests for mistral::db::postgresql and
mistral::db::sync to test multiple operating systems.

Change-Id: Ia362e005c253485db685880ddb5001a0cce5adef
2016-04-30 11:35:27 +08:00
Limor Stotland
3b0bc55c5b puppet-mistral: initial commit
Change-Id: I07c22568ca6c6d1155626fff7cf1d3ca3c6fd5c5
Implements: blueprint add-puppet-mistral
2015-08-09 10:00:45 +00:00