puppetlabs-apache
puppetlabs-apache copied to clipboard
Update load.epp to avoid loading a module already loaded
I encountered a problem during an Apache update. The scriplet executed during updates set up the default configuration of module loads. If the node with puppet agent no longer has the puppet configuration active then there is a duplicate problem in the loading of modules, example of warning returned: [so:warn] [pid 15619] AH01574: module dav_module is already loaded, skipping
The commit therefore makes it possible to load the module if it is not already loaded and thus avoid warnings on duplicates.