From 96cb6121e36f2c8528d1715a870c7ab92f99153f Mon Sep 17 00:00:00 2001 From: Daniel Ferreira de Lima Date: Fri, 9 Sep 2016 10:29:11 -0300 Subject: [PATCH] Fix for sonnar-runner path link and profile home definition. --- manifests/runner/install.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/runner/install.pp b/manifests/runner/install.pp index 377e7255..a66a83bb 100644 --- a/manifests/runner/install.pp +++ b/manifests/runner/install.pp @@ -38,10 +38,10 @@ # Sonar settings for terminal sessions. file { '/etc/profile.d/sonarhome.sh': - content => 'export SONAR_RUNNER_HOME=/usr/local/sonar-runner', + content => "export SONAR_RUNNER_HOME=${installroot}/${package_name}-${version}", } file { '/usr/bin/sonar-runner': ensure => link, - target => '/var/lib/sonar-runner/bin/sonar-runner', + target => "${installroot}/${package_name}-${version}/bin/sonar-runner", } }