diff --git a/test/definitions-eu/apm/java/rhl2-sysd-tomcat-cmd.json b/test/definitions-eu/apm/java/rhl2-sysd-tomcat-cmd.json index 55cb7d093..9ebeb0442 100644 --- a/test/definitions-eu/apm/java/rhl2-sysd-tomcat-cmd.json +++ b/test/definitions-eu/apm/java/rhl2-sysd-tomcat-cmd.json @@ -11,7 +11,7 @@ "provider": "aws", "type": "ec2", "size": "t3.micro", - "ami_name": "amzn2-ami-hvm-2.0.????????.?-x86_64-gp2", + "ami_name": "amzn2-ami-kernel-*-hvm-*-x86_64-gp2", "user_name": "ec2-user" } ], @@ -55,4 +55,4 @@ } ] } -} \ No newline at end of file +} diff --git a/test/definitions/smoke/rhl2-sysd-jboss.json b/test/definitions/smoke/rhl2-sysd-jboss.json index 981498c55..f5cc6d47e 100644 --- a/test/definitions/smoke/rhl2-sysd-jboss.json +++ b/test/definitions/smoke/rhl2-sysd-jboss.json @@ -11,7 +11,7 @@ "provider": "aws", "type": "ec2", "size": "t3.micro", - "ami_name": "amzn2-ami-hvm-2.0.????????.?-x86_64-gp2", + "ami_name": "amzn2-ami-kernel-*-hvm-*-x86_64-gp2", "user_name": "ec2-user" } ], diff --git a/test/definitions/super-agent/suse/suse125-super-agent-fail.json b/test/definitions/super-agent/suse/suse125-super-agent-fail.json new file mode 100644 index 000000000..b1bf46765 --- /dev/null +++ b/test/definitions/super-agent/suse/suse125-super-agent-fail.json @@ -0,0 +1,35 @@ +{ + "global_tags": { + "owning_team": "virtuoso", + "Environment": "development", + "Department": "product", + "Product": "virtuoso" + }, + "resources": [ + { + "id": "host1", + "provider": "aws", + "type": "ec2", + "size": "t3.micro", + "ami_name": "suse-sles-12-sp5-v????????-hvm-*" + } + ], + "instrumentations": { + "resources": [ + { + "id": "nr_super_agent", + "resource_ids": [ + "host1" + ], + "provider": "newrelic", + "source_repository": "https://github.com/newrelic/open-install-library.git", + "deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles", + "params": { + "recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/super-agent/suse.yml", + "validate_output": "New Relic Super Agent\\s+\\(incomplete\\)", + "recipe_targeted": "super-agent" + } + } + ] + } +} diff --git a/test/definitions/super-agent/suse/suse125-super-agent.json b/test/definitions/super-agent/suse/suse125-super-agent.json deleted file mode 100644 index bac94f09e..000000000 --- a/test/definitions/super-agent/suse/suse125-super-agent.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "global_tags": { - "owning_team": "virtuoso", - "Environment": "development", - "Department": "product", - "Product": "virtuoso" - }, - - "resources": [{ - "id": "host1", - "provider": "aws", - "type": "ec2", - "size": "t3.micro", - "ami_name": "suse-sles-12-sp5-v????????-hvm-*" - }], - - "instrumentations": { - "resources": [ - { - "id": "nr_super_agent", - "resource_ids": ["host1"], - "provider": "newrelic", - "source_repository": "https://github.com/newrelic/open-install-library.git", - "deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles", - "params": { - "recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/super-agent/suse.yml", - "validate_output": "New Relic Super Agent\\s+\\(installed\\)", - "recipe_targeted": "super-agent" - } - } - ] - } -} diff --git a/test/manual/definitions/apm/java/linux/tomcat/systemd/rhl2-sysd-tomcat-cmd.json b/test/manual/definitions/apm/java/linux/tomcat/systemd/rhl2-sysd-tomcat-cmd.json index 3115f1cda..624694f48 100644 --- a/test/manual/definitions/apm/java/linux/tomcat/systemd/rhl2-sysd-tomcat-cmd.json +++ b/test/manual/definitions/apm/java/linux/tomcat/systemd/rhl2-sysd-tomcat-cmd.json @@ -11,7 +11,7 @@ "provider": "aws", "type": "ec2", "size": "t3.micro", - "ami_name": "amzn2-ami-hvm-2.0.????????.?-x86_64-gp2", + "ami_name": "amzn2-ami-kernel-*-hvm-*-x86_64-gp2", "user_name": "ec2-user" } ], @@ -26,4 +26,4 @@ ] } ] -} \ No newline at end of file +}