From da2a84f4cf4743d4a3141a0d66b76a53d0e23885 Mon Sep 17 00:00:00 2001 From: Ruben Ruiz de Gauna Date: Thu, 30 May 2024 14:59:39 +0200 Subject: [PATCH] limit super agent installations --- recipes/newrelic/infrastructure/super-agent/debian.yml | 2 ++ recipes/newrelic/infrastructure/super-agent/rhel.yml | 2 ++ recipes/newrelic/infrastructure/super-agent/suse.yml | 1 + 3 files changed, 5 insertions(+) diff --git a/recipes/newrelic/infrastructure/super-agent/debian.yml b/recipes/newrelic/infrastructure/super-agent/debian.yml index c44c7023..8da0321d 100644 --- a/recipes/newrelic/infrastructure/super-agent/debian.yml +++ b/recipes/newrelic/infrastructure/super-agent/debian.yml @@ -10,9 +10,11 @@ installTargets: - type: host os: linux platformFamily: "debian" + platformVersion: "((11|12)\\.?.*)" # Bullseye, Bookworm # - type: host os: linux platform: "ubuntu" + platformVersion: "(((16|18|20|21|22|24)\\.04)|(20.10))" # Xenial, Bionic, Focal, Hirsute, Jammy, Groovy keywords: - SuperAgent diff --git a/recipes/newrelic/infrastructure/super-agent/rhel.yml b/recipes/newrelic/infrastructure/super-agent/rhel.yml index 4a5dc3f1..437a3c26 100644 --- a/recipes/newrelic/infrastructure/super-agent/rhel.yml +++ b/recipes/newrelic/infrastructure/super-agent/rhel.yml @@ -24,9 +24,11 @@ installTargets: - type: host os: linux platform: "centos" + platformVersion: "((7|8|9)\\.?.*)" - type: host os: linux platform: "redhat" + platformVersion: "((7|8|9)\\.?.*)" keywords: - SuperAgent diff --git a/recipes/newrelic/infrastructure/super-agent/suse.yml b/recipes/newrelic/infrastructure/super-agent/suse.yml index cbdbcb10..15dbe768 100644 --- a/recipes/newrelic/infrastructure/super-agent/suse.yml +++ b/recipes/newrelic/infrastructure/super-agent/suse.yml @@ -13,6 +13,7 @@ installTargets: - type: host os: linux platformFamily: suse + platformVersion: "(15\\.[1-4]|15-SP[1-4])" keywords: - SuperAgent