From 0b5d29dad079f86e4d978740823a25ae1c445982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=A1nchez?= Date: Wed, 17 Jul 2024 15:42:11 +0100 Subject: [PATCH] fix: remove wrong logic --- recipes/newrelic/infrastructure/super-agent/debian.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/recipes/newrelic/infrastructure/super-agent/debian.yml b/recipes/newrelic/infrastructure/super-agent/debian.yml index 15485090..33a418d3 100644 --- a/recipes/newrelic/infrastructure/super-agent/debian.yml +++ b/recipes/newrelic/infrastructure/super-agent/debian.yml @@ -512,12 +512,7 @@ install: else if [ "{{.NR_CLI_NRDOT}}" != "false" ]; then mkdir -p /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values - cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-agent-linux-0.1.0.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml - else - if [ "{{.NR_CLI_NRDOT}}" != "false" ]; then - mkdir -p /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values - cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-gateway-0.1.0.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml - fi + cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-gateway-0.1.0.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml fi fi