From 2532b5fa0346349ac2357d8a2c8580bc9a063293 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <alexander.olofsson@liu.se>
Date: Mon, 20 May 2024 10:03:31 +0200
Subject: [PATCH] Fix PDK 3.2.0 workarounds

---
 puppet-module-pipeline.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml
index 7dbd763..493b041 100644
--- a/puppet-module-pipeline.yaml
+++ b/puppet-module-pipeline.yaml
@@ -30,8 +30,8 @@ pdk-validate:
 
       touch Gemfile Gemfile.local
 
-      # For PDK 3.2.0
-      if [ "$PDK_VERSION" == "3.2.0" ]; then
+      # For PDK 3.2.0 (it reports as the unreleased 3.1.0)
+      if [ "$PDK_VERSION" == "3.1.0" ]; then
         echo "Locking rexml to 3.2.5"
         sed -e '/"rexml"/d' -e "/'rexml'/d" -i Gemfile Gemfile.local
         echo 'gem "rexml", "= 3.2.5"' >> Gemfile.local
-- 
GitLab