puppet-newrelic
puppet-newrelic copied to clipboard
Priority for phpenmod
Priority param for clean integration with phpenmod
+1 , without this, using this module lead to 2 files in php conf dir : newrelic.ini and 20-newrelic.ini
This is really important. Please merge as soon as possible!
Digged some more into it. There is also an issue with this line:
command => "/usr/bin/newrelic-install purge ; NR_INSTALL_SILENT=yes, NR_INSTALL_KEY=${php::newrelic::license_key} /usr/bin/newrelic-install install",
The problem is the following:
- newrelic-php5 gets installed and adds (e.g) /etc/php5/mods-available/newrelic.ini with a symlink /etc/php5/apache2/conf.d/20-newrelic.ini
- newrelic-install gets executed and creates /etc/php5/apache2/conf.d/newrelic.ini without deleting the already created files.
I think the best option is to remove the newrelic-install command.