As per https://github.com/voxpupuli/puppet-puppetboard/pull/280 here are some alternative instructions for CentOS 7 and RHEL 7 users to utlilse Python 3 with Apache (httpd).
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
This fixes the wsgi parameters passed to apache::vhost as currently they don't match what the module accepts.
n/a
<!--
Thank you for contributing to this project!
-->
<!--
Adds the graph_facts array/variable to enable the creating of a pie/bar chart of the desired facts.
-->
The extra_settings is somewhat cumbersome to use for GRAPHFACTS in the settings.py file because it necessitates escaping the single quote character around the facts to be graphed. This PR adds the graphfacts variable as an array, sorts and unique-ifies the array and wraps the result in a set of single quotes:
GRAPH_FACTS = 'kernel,operatingsystem,operatingsystemmajrelease'
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
modulesync 5.4.0
As inspired by issue mentioned, this fix the install of wsgi for python 3.8 and 3.9 on rhel.
There is no need to set to specific mod_path
as the packages provides the file in httpd/modules
```bash
yum provides /usr/lib64/httpd/modules/modwsgipython3.so
python3-modwsgi-4.6.4-4.el8.x8664 : A WSGI interface for Python web applications in Apache
Repo : appstream
Matched from:
Filename : /usr/lib64/httpd/modules/modwsgipython3.so
python38-modwsgi-4.6.8-3.module+el8.4.0+570+c2eaf144.x8664 : A WSGI interface for Python web applications in Apache
Repo : appstream
Matched from:
Filename : /usr/lib64/httpd/modules/modwsgipython3.so
python39-modwsgi-4.7.1-4.module+el8.4.0+574+843c4898.x8664 : A WSGI interface for Python web applications in Apache
Repo : appstream
Matched from:
Filename : /usr/lib64/httpd/modules/modwsgipython3.so
```
I’m not a very confident test writer, but I did my best to test the changes I made. Please suggest what could be done better if you think it is required.
Fixes #369
We are running Puppetboard under CentOS 7 and were experiencing the Python 3.6 / WSGI troubles described in the README. As part of the solution we needed a way to either switch off the management of apache::mod::wsgi by puppetboard::apache::vhost or be able to pass custom configuration settings to make Apache load a different module, linked to Python 3.
This PR adds both functions, not just for CentOS 7 as other people might be interested in using other ways to set up mod_wsgi.
n/a
the vcsrepo resource which checks out puppetboard uses $group (which it already required in previous versions) instead of the default group (usually root)
metadata.json
in #292 commit 77ea67b22f2ef24920ec56f01e2658770a0a3b9d due to lack of working tests.metadata.json
: Add EL 9 support<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->