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
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
... 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
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
This change updates the tests for mistral::db::postgresql and
mistral::db::sync to test multiple operating systems.
Change-Id: Ia362e005c253485db685880ddb5001a0cce5adef