I use the official Apache module to instal al LAMP on Redhat Linux and use software collections to be able to use a higher PHP version than the RHEL 7 default.
The RHSCL package rh-php70-php places a file to let Apache parse php: /opt/rh/httpd24/root/etc/httpd/conf.d/rh-php70-php.conf
However, Puppet purges this file in the next Puppetrun, as it is not managed by the Puppet Apache module (purge_configs => true).
This is good, however, how can I make an exception for the above mentioned file only, without editing the Apache module itself?
I use this example:
And try to make SCL PHP 5.6 work with the Puppet Apache module like in the docs:
TLDR: I install/manage PHP 5.6 from Redhat SCL through apache::mod::php, however it filebuckets the configs. Do I need to set either a template or a puppet file for these configs to be overruled and not to be filebucketed?