diff --git a/test/definitions/super-agent/rhel/centos8-super-agent.json b/test/definitions/super-agent/rhel/centos8-super-agent.json index beb778b1..19a1ca99 100644 --- a/test/definitions/super-agent/rhel/centos8-super-agent.json +++ b/test/definitions/super-agent/rhel/centos8-super-agent.json @@ -16,6 +16,17 @@ }], "instrumentations": { + "services": [ + { + "id": "nr_infra", + "resource_ids": ["host1"], + "source_repository": "https://github.com/newrelic/open-install-library.git", + "deploy_script_path": "test/deploy/linux/shell/roles", + "params": { + "step_onbeforestart": "cd /etc/yum.repos.d/ && sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*" + } + } + ], "resources": [ { "id": "nr_super_agent", diff --git a/test/definitions/super-agent/rhel/centos8arm64-super-agent.json b/test/definitions/super-agent/rhel/centos8arm64-super-agent.json index dfd0463b..025599de 100644 --- a/test/definitions/super-agent/rhel/centos8arm64-super-agent.json +++ b/test/definitions/super-agent/rhel/centos8arm64-super-agent.json @@ -16,6 +16,17 @@ }], "instrumentations": { + "services": [ + { + "id": "nr_infra", + "resource_ids": ["host1"], + "source_repository": "https://github.com/newrelic/open-install-library.git", + "deploy_script_path": "test/deploy/linux/shell/roles", + "params": { + "step_onbeforestart": "cd /etc/yum.repos.d/ && sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*" + } + } + ], "resources": [ { "id": "nr_super_agent",