Skip to content

Commit

Permalink
feat(SuperAgent): remove agentType version (#1118)
Browse files Browse the repository at this point in the history
feat(SuperAgent): remove agentType version (#1118)
  • Loading branch information
paologallinaharbur authored Oct 15, 2024
1 parent b87d83c commit 4d0310d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions recipes/newrelic/infrastructure/super-agent/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,11 @@ install:
if [ "{{.NEW_RELIC_SUPER_AGENT_HOST_MONITORING_SOURCE}}" = "otel" ]; then
echo 'is_integrations_only: true' >> /etc/newrelic-infra.yml
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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-agent-linux.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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-gateway.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml
fi
fi
Expand Down
4 changes: 2 additions & 2 deletions recipes/newrelic/infrastructure/super-agent/rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,11 @@ install:
if [ "{{.NEW_RELIC_SUPER_AGENT_HOST_MONITORING_SOURCE}}" = "otel" ]; then
echo 'is_integrations_only: true' >> /etc/newrelic-infra.yml
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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-agent-linux.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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-gateway.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml
fi
fi
Expand Down
4 changes: 2 additions & 2 deletions recipes/newrelic/infrastructure/super-agent/suse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,11 @@ install:
if [ "{{.NEW_RELIC_SUPER_AGENT_HOST_MONITORING_SOURCE}}" = "otel" ]; then
echo 'is_integrations_only: true' >> /etc/newrelic-infra.yml
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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-agent-linux.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
cp /etc/newrelic-super-agent/examples/values-nr-otel-collector-gateway.yaml /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values/values.yaml
fi
fi
Expand Down

0 comments on commit 4d0310d

Please sign in to comment.