puppetlabs/apache How to control which modules get loaded ?
I am new to Apache httpd and new to Puppet.
The Puppet Forge module puppetlabs/apache works beautifully for installing and running Apache httpd 2.4.6, this is the off the shelf version from Oracle's Linux 7.1 repo.
To get version 2.4.18 configured and running, I built an RPM from Apache's httpd-2.4.18.tar.bz2, stored it in a yum repo and tried again using puppetlabs/apache.
It installs OK but doesn't run, it fails trying to load two missing modules:
If I manually configure these out and do a manual start, it runs OK.
mod_systemd.so is probably good to have, there are modules that I don't want/need and mod_cgi.so is one of them.
I note that the httpd.conf file included in the RPM is 519 lines long, 112 of the lines are LoadModule statements, many of them commented out e.g.
LoadModule mime_module lib64/httpd/modules/mod_mime.so #LoadModule ldap_module lib64/httpd/modules/mod_ldap.so
The httpd.conf file installed by puppetlabs/apache looks very different, only 49 lines in length and the module loading is all done using a single line:
Using puppetlabs/apache how should I control which modules get loaded/omitted ?
My objective is to get the Apache httpd 2.4.18 running under Oracle Linux along with some SVN stuff that I will worry about later when I'm more familiar with what I'm doing.
Oracle Linux is the same as RHEL