puppet-puppetboard
puppet-puppetboard copied to clipboard
Alternative instructions for httpd Python 3
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).
Pull Request (PR) description
This Pull Request (PR) fixes the following issues
Hi, There is some value in the old docs, but they don't actually work as they are, which is part of the reason why I was removing them.
It's not enough to simply specify:
$mod_wsgi_package_name = 'rh-python36-mod_wsgi'
along with
class { 'apache':
purge_configs => false,
mpm_module => 'prefork',
default_vhost => false,
default_mods => false,
}
With this config and particularly purge_configs set to false Apache will be misconfigured at install and will fail to start. In my testing Puppet created additional module files but did not purge the standard module files. Lots of modules had duplicated content.
I also couldn't get Apache to symlink correctly to the module in /opt/rh/httpd24/root/usr/lib64/httpd/modules/ either. It errored every time.
The Apache modules in RHEL / CentOS Software Collections are all located under /opt and are generally meant to be installed alongside specific versions of httpd from the software collections repo, rather than the base version of Apache. I went so far as to test this route but it became painful as too many things had to change in my existing manifests. Service names and file locations all differ for the software collection versions of Apache. This is why I went to the IUS repo.
If you'd like me to add back some more details about the Software Collections option I can do so.
Dear @pjonesIDBS, thanks for the PR!
This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com. You can find my sourcecode at voxpupuli/vox-pupuli-tasks
Dear @pjonesIDBS, thanks for the PR!
This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase?
You can find my sourcecode at voxpupuli/vox-pupuli-tasks
thanks for the PR! After a huge amount of work, our master branch is green again. To verify that this works, could you add it to our acceptance tests? At the moment we don't support CentOS 7, but if this works properly with the puppetboard/python module, we can readd it.