justicel/puppet-phpmyadmin — pull request #17 by atomaka (2013-07-09 15:03:49+00:00)
Title: Debian Apache Config Correction

Currently, this module sets up Debian and Ubuntu operating systems to use the config file served from /etc/phpmyadmin/apache.conf, but does not manage the symlink to that file. On first run, the phpmyadmin package will setup this symlink. However, once puppet runs again, this unmanaged symlink will be deleted (puppetlabs-apache managing it?). The easiest way to compensate for this is by simply hosting the $apache_default_config file on Debian family operating systems out of the Apache2 config directory.

This file change should also notify the Apache service.

Alternatively, this fix can be accomplished via managing the symlink on Debian family systems. [I went this route initially](https://github.com/atomaka/puppet-phpmyadmin/tree/bugfix-symlink), but simply moving the file is much cleaner and makes notifying Apache simpler.

Tested on Ubuntu 12.04.