puppetlabs-apache icon indicating copy to clipboard operation
puppetlabs-apache copied to clipboard

Update load.epp to avoid loading a module already loaded

Open mz4r opened this issue 2 years ago • 5 comments

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.

mz4r avatar Oct 11 '23 08:10 mz4r