6 Commits

Author SHA1 Message Date
Takashi Kajinami
8f624221ea Apache: Disable default mods
We should load the required mods automatically instead of relying on
the list of modules loaded by puppetlabs-apache by default.

Change-Id: I8f60238ddb82c188dc2042ab38fedb3b0edbaef3
2023-08-07 16:58:14 +09:00
Takashi Kajinami
8fd4c8fae6 Remove workaround for old puppetlabs-apache
The workaround is no longer required since puppetlabs-apache v6.5.0[1].

This also removes the apache class from service manifests because we
should use our own apache manifests to manage the apache service.

[1] https://github.com/puppetlabs/puppetlabs-apache/commit/f4e8c1d2f

Change-Id: I6818cd31cc5d878d141a88d977ea956a4717c17f
2023-08-04 11:53:44 +09:00
Takashi Kajinami
2f1d35f59c Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I25d27829f66c4ee56e2755579dad21530ef09c3a
2023-03-01 13:30:01 +09:00
Takashi Kajinami
823f009a35 Ubuntu/Debian: Remove unnecessary override of apache::mod_libs
Setting the mod_libs parameter is not required if the library is named
"mod_${name}.so".

Change-Id: I299dab344af72f5bec82a6a50a54a34dc4185344
2022-08-18 00:26:58 +09:00
Takashi Kajinami
7424f811af Clean up unnecessary workaround related to puppetlabs-apache
Since v5.6.0, mod_packages[1] and mod_libs[2] are automatically set
to the appropriate value in CentOS8, so we don't need to set these
parameters explicitly.

[1] https://github.com/puppetlabs/puppetlabs-apache/commit/d346b76d1
[2] https://github.com/puppetlabs/puppetlabs-apache/commit/f31e392a6

Change-Id: Iab5964f54d0e5de0538e02b59ec5be0cdcf926d5
2021-05-02 23:38:52 +09:00
Takashi Kajinami
fc3f5bfbd3 Implement a common class to manage apache service
This patch introduces a new class, openstack_integration::apache, which
can be used to manage apache service in ci jobs.

Change-Id: I1d29662abe630f291fc4dbcb80d439d9e7388ce8
2020-08-07 09:14:09 +09:00