puppet-newrelic icon indicating copy to clipboard operation
puppet-newrelic copied to clipboard

Priority for phpenmod

Open luckyraul opened this issue 9 years ago • 3 comments

Priority param for clean integration with phpenmod

luckyraul avatar Sep 07 '15 08:09 luckyraul

+1 , without this, using this module lead to 2 files in php conf dir : newrelic.ini and 20-newrelic.ini

maxenced avatar Jan 28 '16 14:01 maxenced

This is really important. Please merge as soon as possible!

baurmatt avatar Sep 21 '16 15:09 baurmatt

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.

baurmatt avatar Oct 06 '16 08:10 baurmatt