puppetlabs/puppetlabs-apache — pull request #115 by mikehaas763 (2012-11-14 09:02:43+00:00)
Title: mod_php places conf file in site-enabled directory

I added an identifier/variable for the mods-available directory and the conf.d general snippets directory. I then configured the php.pp manifest to point to the mods-available directory. I then set the contents of php.conf.erb to be the same as what ships by default (in mods-available/php5.conf) with at least Debian 6 and Ubuntu 11.10 forward that I know of for sure.

Future improvements I plan on doing with this include:
- extending this to the other apache_mods
- being that this uses the systems default area to make configuration changes, a backup should be created to preserve a user's existing settings.