From e656a631688f95da87971a2d3f09e452becf09d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20S=C3=A1nchez?= Date: Mon, 16 Dec 2024 17:28:28 +0000 Subject: [PATCH] feat: rename `opamp` option to `fleet_control` --- recipes/newrelic/infrastructure/super-agent/debian.yml | 6 +++--- recipes/newrelic/infrastructure/super-agent/rhel.yml | 8 ++++---- recipes/newrelic/infrastructure/super-agent/suse.yml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/recipes/newrelic/infrastructure/super-agent/debian.yml b/recipes/newrelic/infrastructure/super-agent/debian.yml index f8359131..6dec4eae 100644 --- a/recipes/newrelic/infrastructure/super-agent/debian.yml +++ b/recipes/newrelic/infrastructure/super-agent/debian.yml @@ -85,7 +85,7 @@ install: - task: update_otel_license_key - task: config_supervisors - task: config_fleet_id - - task: config_opamp + - task: config_fleet_control - task: config_super_agent_auth - task: config_host_monitoring - task: update_otel_mem_limit @@ -438,13 +438,13 @@ install: sed -i 's/fleet_id: FLEET_ID_HERE/fleet_id: {{.NR_CLI_FLEET_ID}}/g' /etc/newrelic-super-agent/config.yaml fi - config_opamp: + config_fleet_control: status: - test -f /etc/newrelic-super-agent/.nr-cli cmds: - | if [ "{{.NEW_RELIC_SUPER_AGENT_FLEET_ENABLED}}" = "false" ]; then - sed -i '/^\s*opamp:/s/^/#/' /etc/newrelic-super-agent/config.yaml + sed -i '/^\s*fleet_control:/s/^/#/' /etc/newrelic-super-agent/config.yaml sed -i '/^\s*endpoint: https:\/\/opamp/s/^/#/' /etc/newrelic-super-agent/config.yaml else sed -i 's/s*#\s*opamp:/opamp:/g' /etc/newrelic-super-agent/config.yaml diff --git a/recipes/newrelic/infrastructure/super-agent/rhel.yml b/recipes/newrelic/infrastructure/super-agent/rhel.yml index af6f525b..ffbf9be6 100644 --- a/recipes/newrelic/infrastructure/super-agent/rhel.yml +++ b/recipes/newrelic/infrastructure/super-agent/rhel.yml @@ -105,7 +105,7 @@ install: - task: update_otel_license_key - task: config_supervisors - task: config_fleet_id - - task: config_opamp + - task: config_fleet_control - task: config_super_agent_auth - task: config_host_monitoring - task: update_otel_mem_limit @@ -381,16 +381,16 @@ install: sed -i 's/fleet_id: FLEET_ID_HERE/fleet_id: {{.NR_CLI_FLEET_ID}}/g' /etc/newrelic-super-agent/config.yaml fi - config_opamp: + config_fleet_control: status: - test -f /etc/newrelic-super-agent/.nr-cli cmds: - | if [ "{{.NEW_RELIC_SUPER_AGENT_FLEET_ENABLED}}" = "false" ]; then - sed -i '/^\s*opamp:/s/^/#/' /etc/newrelic-super-agent/config.yaml + sed -i '/^\s*fleet_control:/s/^/#/' /etc/newrelic-super-agent/config.yaml sed -i '/^\s*endpoint: https:\/\/opamp/s/^/#/' /etc/newrelic-super-agent/config.yaml else - sed -i 's/s*#\s*opamp:/opamp:/g' /etc/newrelic-super-agent/config.yaml + sed -i 's/s*#\s*fleet_control:/fleet_control:/g' /etc/newrelic-super-agent/config.yaml sed -i '/^\s*#\s*endpoint: https:\/\/opamp/s/# //' /etc/newrelic-super-agent/config.yaml fi - | diff --git a/recipes/newrelic/infrastructure/super-agent/suse.yml b/recipes/newrelic/infrastructure/super-agent/suse.yml index 1c10f434..43451a9b 100644 --- a/recipes/newrelic/infrastructure/super-agent/suse.yml +++ b/recipes/newrelic/infrastructure/super-agent/suse.yml @@ -71,7 +71,7 @@ install: - task: update_otel_license_key - task: config_supervisors - task: config_fleet_id - - task: config_opamp + - task: config_fleet_control - task: config_super_agent_auth - task: config_host_monitoring - task: update_otel_mem_limit @@ -328,16 +328,16 @@ install: sed -i 's/fleet_id: FLEET_ID_HERE/fleet_id: {{.NR_CLI_FLEET_ID}}/g' /etc/newrelic-super-agent/config.yaml fi - config_opamp: + config_fleet_control: status: - test -f /etc/newrelic-super-agent/.nr-cli cmds: - | if [ "{{.NEW_RELIC_SUPER_AGENT_FLEET_ENABLED}}" = "false" ]; then - sed -i '/^\s*opamp:/s/^/#/' /etc/newrelic-super-agent/config.yaml + sed -i '/^\s*fleet_control:/s/^/#/' /etc/newrelic-super-agent/config.yaml sed -i '/^\s*endpoint: https:\/\/opamp/s/^/#/' /etc/newrelic-super-agent/config.yaml else - sed -i 's/s*#\s*opamp:/opamp:/g' /etc/newrelic-super-agent/config.yaml + sed -i 's/s*#\s*fleet_control:/fleet_control:/g' /etc/newrelic-super-agent/config.yaml sed -i '/^\s*#\s*endpoint: https:\/\/opamp/s/# //' /etc/newrelic-super-agent/config.yaml fi - |