From c1035f433fc24c14ae9326ee1f28a31354d68625 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <alexander.olofsson@liu.se>
Date: Tue, 16 Jul 2024 09:28:12 +0200
Subject: [PATCH] Lock io-console on PDK

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

diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml
index aaccf15..9dd9466 100644
--- a/puppet-module-pipeline.yaml
+++ b/puppet-module-pipeline.yaml
@@ -36,10 +36,18 @@ pdk-validate:
           echo "Locking racc to 1.4.16"
           sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
           echo 'gem "racc", "= 1.4.16"' >> Gemfile.local
+
+          echo "Locking io-console to 0.6.0"
+          sed -e '/"io-console"/d' -e "/'io-console'/d" -i Gemfile Gemfile.local
+          echo 'gem "io-console", "= 0.6.0"' >> Gemfile.local
         else
           echo "Locking racc to 1.7.3"
           sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
           echo 'gem "racc", "= 1.7.3"' >> Gemfile.local
+
+          echo "Locking io-console to 0.5.6"
+          sed -e '/"io-console"/d' -e "/'io-console'/d" -i Gemfile Gemfile.local
+          echo 'gem "io-console", "= 0.5.6"' >> Gemfile.local
         fi
 
         echo "Locking rexml to 3.2.6"
-- 
GitLab