Skip to content

Commit b3e8952

Browse files
feat(logs): Provision for amazon linux 2023 aarch64 arch (#1108)
* provision for amazon linux 2023 aarch64 arch * Update amazonlinux-2023.json * PR changes for al2023 amr64 * Changing ami size for al2023 arm64 * platform version changed for al2023 for super agent * changed ami size for al2023 arm64 --------- Co-authored-by: voorepreethi <pvoore.newrelic.com> Co-authored-by: Rajeev Kumar <[email protected]>
1 parent 89cab74 commit b3e8952

File tree

5 files changed

+87
-1
lines changed

5 files changed

+87
-1
lines changed

recipes/newrelic/infrastructure/logs/linux-logs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ installTargets:
8181
platformFamily: rhel
8282
platformVersion: "((7|8)\\.?.*)"
8383
kernelArch: aarch64
84+
- type: host
85+
os: linux
86+
platform: amazon
87+
platformVersion: "(2023\\.*)"
88+
kernelArch: aarch64
8489

8590
keywords:
8691
- Logs

recipes/newrelic/infrastructure/super-agent/logs/linux-logs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ installTargets:
2020
- type: host
2121
os: linux
2222
platform: amazon
23-
platformVersion: "2023"
23+
platformVersion: "(2023\\.*)"
2424
kernelArch: x86_64
2525
- type: host
2626
os: linux
@@ -68,6 +68,11 @@ installTargets:
6868
platformFamily: rhel
6969
platformVersion: "((7|8)\\.?.*)"
7070
kernelArch: aarch64
71+
- type: host
72+
os: linux
73+
platform: amazon
74+
platformVersion: "(2023\\.*)"
75+
kernelArch: aarch64
7176
# Fluent Bit supported is not available for Suse aarch64
7277
# - type: host
7378
# os: linux
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"global_tags": {
3+
"owning_team": "virtuoso",
4+
"Environment": "development",
5+
"Department": "product",
6+
"Product": "virtuoso"
7+
},
8+
9+
"resources": [
10+
{
11+
"id": "host1",
12+
"provider": "aws",
13+
"type": "ec2",
14+
"size": "t4g.nano",
15+
"ami_name": "al2023-ami-2023.*-arm64",
16+
"user_name": "ec2-user"
17+
}
18+
],
19+
20+
"instrumentations": {
21+
"resources": [
22+
{
23+
"id": "nr_logs_amazonlinux2023",
24+
"resource_ids": ["host1"],
25+
"provider": "newrelic",
26+
"source_repository": "https://github.com/newrelic/open-install-library",
27+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
28+
"params": {
29+
"newrelic_cli_option": "-n logs-integration",
30+
"validate_output": "Logs Integration\\s+\\(installed\\)",
31+
"local_recipes": true
32+
}
33+
}
34+
]
35+
}
36+
}
37+
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"global_tags": {
3+
"owning_team": "virtuoso",
4+
"Environment": "development",
5+
"Department": "product",
6+
"Product": "virtuoso"
7+
},
8+
9+
"resources": [
10+
{
11+
"id": "host1",
12+
"provider": "aws",
13+
"type": "ec2",
14+
"size": "t4g.nano",
15+
"ami_name": "al2023-ami-2023.*-arm64",
16+
"user_name": "ec2-user"
17+
}
18+
],
19+
20+
"instrumentations": {
21+
"resources": [
22+
{
23+
"id": "nr_super_agent_logs",
24+
"resource_ids": ["host1"],
25+
"provider": "newrelic",
26+
"source_repository": "https://github.com/newrelic/open-install-library",
27+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
28+
"params": {
29+
"env_var": "NEW_RELIC_CLI_SKIP_CORE=1",
30+
"newrelic_cli_option": "-n super-agent,logs-integration-super-agent",
31+
"validate_output": "Logs Integration\\s+\\(installed\\)",
32+
"local_recipes": true,
33+
"use_organization_id": true
34+
}
35+
}
36+
]
37+
}
38+
}
39+
File renamed without changes.

0 commit comments

Comments
 (0)