File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
recipes/newrelic/infrastructure Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,6 @@ install:
135
135
sed -i.bak "/^status_server_port/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
136
136
sed -i.bak "/^license_key/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
137
137
sed -i.bak "/^metrics_process_sample_rate/d" "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}".bak
138
- sed -i.bak '/^custom_attributes:/,/^\S/{ /^\S/!d }' "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}.bak"
139
- sed -i.bak '/^custom_attributes:/d' "{{.V2_CONFIG_FILE}}" && rm "{{.V2_CONFIG_FILE}}.bak"
140
138
else
141
139
mkdir -p "{{.V2_CONFIG_FILE_DIR}}"
142
140
touch "{{.V2_CONFIG_FILE}}"
@@ -149,7 +147,6 @@ install:
149
147
echo 'status_server_enabled: true' >> "{{.V2_CONFIG_FILE}}"
150
148
echo 'status_server_port: 18003' >> "{{.V2_CONFIG_FILE}}"
151
149
echo 'license_key: {{.NEW_RELIC_LICENSE_KEY}}' >> "{{.V2_CONFIG_FILE}}"
152
- echo '{{.NRIA_CUSTOM_ATTRIBUTES}}' >> "{{.V2_CONFIG_FILE}}"
153
150
154
151
setup_proxy :
155
152
cmds :
You can’t perform that action at this time.
0 commit comments