Open luckyhsif opened 9 years ago
how did you define the module to be installed?
Hi,
Here is the usage:
class {'newrelic::server::linux': newrelic_license_key => $license }
We have used a different way to achieve the desired result,
file { "/var/cache/debconf/newrelic-php5.preseed":
ensure => present,
content => "newrelic-php5 newrelic-php5/5.1-deprecation note
newrelic-php5 newrelic-php5/application-name string $application_name-$stage newrelic-php5 newrelic-php5/license-key string $license", }
package { "newrelic-php5":
ensure => present,
responsefile => "/var/cache/debconf/newrelic-php5.preseed",
require => File["/var/cache/debconf/newrelic-php5.preseed"],
}
Thanks & Regards, Roger
On 16 Jun 2015, at 4:23 pm, Felipe Salum notifications@github.com wrote:
how did you define the module to be installed?
— Reply to this email directly or view it on GitHub https://github.com/fsalum/puppet-newrelic/issues/35#issuecomment-112307942.
@luckyhsif I'm trying to clean up some of these issues. I know it's been a while since you opened this, are you still having this issue?
Tried to install newrelic php agent on Debian 7, but got errors, class {'newrelic::agent::php': newrelic_license_key => $license, newrelic_ini_appname => $application_name } Could not evaluate: /bin/sh: 2: /etc/php5/mods-available/newrelic.ini: not found
If conf dir was specified, it got this: Could not evaluate: /bin/sh: 2: /etc/php5/fpm/conf.d/newrelic.ini: not found Could not evaluate: /bin/sh: 2: /etc/php5/mods-available/conf.d/newrelic.ini: not found
other info php-fpm and php-cli were installed on the system, and new relic Linux part was working fine. '/usr/bin/newrelic-install /etc/php5/mods-available' also worked in interactive mode.