Skip to content

Commit

Permalink
provision for amazon linux 2023 aarch64 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
voorepreethi committed Aug 19, 2024
1 parent aaae88f commit fda72fe
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/newrelic/infrastructure/logs/linux-logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ installTargets:
platformFamily: rhel
platformVersion: "((7|8)\\.?.*)"
kernelArch: aarch64
- type: host
os: linux
platform: amazon
platformVersion: "2023"
kernelArch: aarch64

keywords:
- Logs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ installTargets:
platformFamily: rhel
platformVersion: "((7|8)\\.?.*)"
kernelArch: aarch64
- type: host
os: linux
platform: amazon
platformVersion: "2023"
kernelArch: aarch64
# Fluent Bit supported is not available for Suse aarch64
# - type: host
# os: linux
Expand Down
37 changes: 37 additions & 0 deletions test/definitions/logging/amazonlinux-2023.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},

"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.small",
"ami_name": "al2023-ami-2023.*-aarch64",
"user_name": "ec2-user"
}
],

"instrumentations": {
"resources": [
{
"id": "nr_logs_amazonlinux2023",
"resource_ids": ["host1"],
"provider": "newrelic",
"source_repository": "https://github.com/newrelic/open-install-library",
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
"params": {
"newrelic_cli_option": "-n logs-integration",
"validate_output": "Logs Integration\\s+\\(installed\\)",
"local_recipes": true
}
}
]
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"global_tags": {
"owning_team": "virtuoso",
"Environment": "development",
"Department": "product",
"Product": "virtuoso"
},

"resources": [
{
"id": "host1",
"provider": "aws",
"type": "ec2",
"size": "t3.small",
"ami_name": "al2023-ami-2023.*-aarch64",
"user_name": "ec2-user"
}
],

"instrumentations": {
"resources": [
{
"id": "nr_super_agent_logs",
"resource_ids": ["host1"],
"provider": "newrelic",
"source_repository": "https://github.com/newrelic/open-install-library",
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
"params": {
"env_var": "NEW_RELIC_CLI_SKIP_CORE=1",
"newrelic_cli_option": "-n super-agent,logs-integration-super-agent",
"validate_output": "Logs Integration\\s+\\(installed\\)",
"local_recipes": true,
"use_organization_id": true
}
}
]
}
}

0 comments on commit fda72fe

Please sign in to comment.