Skip to content

Commit 5f61da1

Browse files
chore: add ubuntu 24 infra agent (#1077)
* chore: add ubuntu 24 infra agent * test: add ubuntu24 test * chore: remove failing unsupported os testing
1 parent 30d429a commit 5f61da1

File tree

3 files changed

+4
-36
lines changed

3 files changed

+4
-36
lines changed

recipes/newrelic/infrastructure/ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ keywords:
2222
- Bionic
2323
- Focal
2424
- Jammy
25+
- Noble
2526

2627
processMatch: []
2728

test/definitions-eu/infra-agent/debians/ubuntu21x04hirsute-infra.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

test/definitions/infra-agent/ubuntu21-infra-unsupported.json renamed to test/definitions/infra-agent/ubuntu24-infra.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
"provider": "aws",
1313
"type": "ec2",
1414
"size": "t3.micro",
15-
"ami_name": "ubuntu/images/hvm-ssd/ubuntu-impish-21.??-amd64-server-????????",
15+
"ami_name": "ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-????????",
1616
"user_name": "ubuntu"
1717
}
1818
],
1919

2020
"instrumentations": {
2121
"resources": [
2222
{
23-
"id": "nr_infra_ubuntu21",
23+
"id": "nr_infra_ubuntu24",
2424
"resource_ids": ["host1"],
2525
"provider": "newrelic",
2626
"source_repository": "https://github.com/newrelic/open-install-library",
2727
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
2828
"params": {
29-
"validate_output": "Infrastructure Agent\\s+\\(unsupported\\)",
29+
"validate_output": "Infrastructure Agent\\s+\\(installed\\)",
3030
"local_recipes": true
3131
}
3232
}

0 commit comments

Comments
 (0)