From 46bd9428b30ba36d100a98dc1a118d32f70cbe39 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <alexander.olofsson@liu.se>
Date: Mon, 20 May 2024 10:05:57 +0200
Subject: [PATCH] Expand PDK 3.2.0 workarounds

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

diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml
index 493b041..9429c52 100644
--- a/puppet-module-pipeline.yaml
+++ b/puppet-module-pipeline.yaml
@@ -32,6 +32,10 @@ pdk-validate:
 
       # For PDK 3.2.0 (it reports as the unreleased 3.1.0)
       if [ "$PDK_VERSION" == "3.1.0" ]; then
+        echo "Locking racc to 1.6.2"
+        sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
+        echo 'gem "racc", "= 1.6.2"' >> Gemfile.local
+
         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