From 4a6387eebdc6ecc2bcec972ba2a48f2660594ac5 Mon Sep 17 00:00:00 2001 From: Matthias Fetzer Date: Sat, 29 Jan 2022 19:15:29 +0100 Subject: [PATCH 1/3] Update redhat.pp --- manifests/osfamily/redhat.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifests/osfamily/redhat.pp b/manifests/osfamily/redhat.pp index b64a0eb2..7a8480fa 100644 --- a/manifests/osfamily/redhat.pp +++ b/manifests/osfamily/redhat.pp @@ -23,6 +23,9 @@ } $platform_and_version = "el/${amz_el_version}" } + 'XCP-ng', 'XenServer' { + $platform_and_version = "el/7" + } default: { $platform_and_version = "el/${::operatingsystemmajrelease}" } From 7284637107639f0adcba9dd026f5f1f9ec9c924a Mon Sep 17 00:00:00 2001 From: Matthias Fetzer Date: Sat, 29 Jan 2022 19:19:25 +0100 Subject: [PATCH 2/3] Fixed syntax error --- manifests/osfamily/redhat.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/osfamily/redhat.pp b/manifests/osfamily/redhat.pp index 7a8480fa..32ed26c3 100644 --- a/manifests/osfamily/redhat.pp +++ b/manifests/osfamily/redhat.pp @@ -23,7 +23,7 @@ } $platform_and_version = "el/${amz_el_version}" } - 'XCP-ng', 'XenServer' { + 'XCP-ng', 'XenServer': { $platform_and_version = "el/7" } default: { From 2c0f4e207748fd845e5b6bfab80e205645af1df8 Mon Sep 17 00:00:00 2001 From: Matthias Fetzer Date: Sat, 29 Jan 2022 19:22:53 +0100 Subject: [PATCH 3/3] Add xcp-ng to metadata.json --- metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/metadata.json b/metadata.json index a3479817..9b84dced 100644 --- a/metadata.json +++ b/metadata.json @@ -52,6 +52,12 @@ "7" ] }, + { + "operatingsystem": "XCP-ng", + "operatingsystemrelease": [ + "8", + ] + }, { "operatingsystem": "Scientific", "operatingsystemrelease": [