Skip to content

Commit 1b6dd23

Browse files
authored
fix(logs): add Rocky and AlmaLinux platforms as valid install targets (#1065)
1 parent b72b3c6 commit 1b6dd23

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

recipes/newrelic/infrastructure/logs/linux-logs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ installTargets:
4444
platform: "centos"
4545
platformFamily: rhel
4646
platformVersion: "((7|8|9)\\.?.*)"
47+
- type: host
48+
os: linux
49+
platform: "rocky"
50+
platformFamily: rhel
51+
platformVersion: "((7|8|9)\\.?.*)"
52+
- type: host
53+
os: linux
54+
platform: "almalinux"
55+
platformFamily: rhel
56+
platformVersion: "((7|8|9)\\.?.*)"
4757
- type: host
4858
os: linux
4959
platformFamily: suse
@@ -165,7 +175,7 @@ install:
165175
if [ $file_exist -gt 0 ]; then
166176
target_log_files+=("/var/lib/docker/containers/*/*.log")
167177
fi
168-
178+
169179
if [[ "$NR_CLI_SKIP_LOGS" == "true" ]] ; then
170180
target_log_files=()
171181
target_discovered_log_files=()

validator/schema-v1.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@
237237
"debian",
238238
"centos",
239239
"redhat",
240-
"suse"
240+
"suse",
241+
"rocky",
242+
"almalinux"
241243
],
242244
"title": "The platform schema",
243245
"description": "An explanation about the purpose of this instance.",

0 commit comments

Comments
 (0)