From b5e40f8926a9aaffa538a0d3e03653ccd196081c Mon Sep 17 00:00:00 2001 From: Shubham Shinde Date: Wed, 13 Nov 2024 21:22:23 +0530 Subject: [PATCH] (CAT-2101) Add support for Debian-12 --- .fixtures.yml | 2 +- metadata.json | 3 ++- spec/acceptance/acceptance_1b_spec.rb | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.fixtures.yml b/.fixtures.yml index c433a787..632201dc 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -7,7 +7,7 @@ fixtures: facts: 'https://github.com/puppetlabs/puppetlabs-facts.git' puppet_agent: repo: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git' - ref: v4.13.0 + ref: v4.21.0 provision: 'https://github.com/puppetlabs/provision.git' symlinks: diff --git a/metadata.json b/metadata.json index 7c28342e..25f851f3 100644 --- a/metadata.json +++ b/metadata.json @@ -53,7 +53,8 @@ "operatingsystem": "Debian", "operatingsystemrelease": [ "10", - "11" + "11", + "12" ] }, { diff --git a/spec/acceptance/acceptance_1b_spec.rb b/spec/acceptance/acceptance_1b_spec.rb index 199cd0af..f663d678 100644 --- a/spec/acceptance/acceptance_1b_spec.rb +++ b/spec/acceptance/acceptance_1b_spec.rb @@ -18,6 +18,8 @@ if os[:release].start_with?('9') "/usr/lib/jvm/java-8-openjdk-#{architecture}" + elsif os[:release].start_with?('12') + "/usr/lib/jvm/java-17-openjdk-#{architecture}" else "/usr/lib/jvm/java-11-openjdk-#{architecture}" end