File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
recipes/newrelic/infrastructure/super-agent Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ install:
183
183
sed -i "/^license_key/d" /etc/newrelic-infra.yml
184
184
sed -i '/^custom_attributes:/,/^\S/{ /^\S/!d }' /etc/newrelic-infra.yml
185
185
sed -i '/^custom_attributes:/d' /etc/newrelic-infra.yml
186
- sed -i "/^is_secure_forward_only /d" /etc/newrelic-infra.yml
186
+ sed -i "/^is_integrations_only /d" /etc/newrelic-infra.yml
187
187
188
188
if [ "{{.NR_SA_MIGRATE_INFRA_CONFIG}}" == "true" ] || [ "{{.NEW_RELIC_ASSUME_YES}}" == "true" ] ; then
189
189
touch /etc/newrelic-infra-do-migrate
@@ -430,7 +430,7 @@ install:
430
430
cmds :
431
431
- |
432
432
if [ "{{.NR_CLI_HOST_MONITORING_SOURCE}}" = "otel" ]; then
433
- echo 'is_secure_forward_only : true' >> /etc/newrelic-infra.yml
433
+ echo 'is_integrations_only : true' >> /etc/newrelic-infra.yml
434
434
mkdir -p /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values
435
435
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
436
436
else
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ install:
196
196
sed -i "/^license_key/d" /etc/newrelic-infra.yml
197
197
sed -i '/^custom_attributes:/,/^\S/{ /^\S/!d }' /etc/newrelic-infra.yml
198
198
sed -i '/^custom_attributes:/d' /etc/newrelic-infra.yml
199
- sed -i "/^is_secure_forward_only /d" /etc/newrelic-infra.yml
199
+ sed -i "/^is_integrations_only /d" /etc/newrelic-infra.yml
200
200
201
201
if [ "{{.NR_SA_MIGRATE_INFRA_CONFIG}}" == "true" ] || [ "{{.NEW_RELIC_ASSUME_YES}}" == "true" ] ; then
202
202
touch /etc/newrelic-infra-do-migrate
@@ -371,7 +371,7 @@ install:
371
371
cmds :
372
372
- |
373
373
if [ "{{.NR_CLI_HOST_MONITORING_SOURCE}}" = "otel" ]; then
374
- echo 'is_secure_forward_only : true' >> /etc/newrelic-infra.yml
374
+ echo 'is_integrations_only : true' >> /etc/newrelic-infra.yml
375
375
mkdir -p /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values
376
376
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
377
377
else
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ install:
155
155
sed -i "/^license_key/d" /etc/newrelic-infra.yml
156
156
sed -i '/^custom_attributes:/,/^\S/{ /^\S/!d }' /etc/newrelic-infra.yml
157
157
sed -i '/^custom_attributes:/d' /etc/newrelic-infra.yml
158
- sed -i "/^is_secure_forward_only /d" /etc/newrelic-infra.yml
158
+ sed -i "/^is_integrations_only /d" /etc/newrelic-infra.yml
159
159
160
160
if [ "{{.NR_SA_MIGRATE_INFRA_CONFIG}}" == "true" ] || [ "{{.NEW_RELIC_ASSUME_YES}}" == "true" ] ; then
161
161
touch /etc/newrelic-infra-do-migrate
@@ -321,7 +321,7 @@ install:
321
321
cmds :
322
322
- |
323
323
if [ "{{.NR_CLI_HOST_MONITORING_SOURCE}}" = "otel" ]; then
324
- echo 'is_secure_forward_only : true' >> /etc/newrelic-infra.yml
324
+ echo 'is_integrations_only : true' >> /etc/newrelic-infra.yml
325
325
mkdir -p /etc/newrelic-super-agent/fleet/agents.d/nr-otel-collector/values
326
326
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
327
327
else
You can’t perform that action at this time.
0 commit comments