From 268217dc2f8afd8b24ba931f31992e84f618ae29 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson <alexander.olofsson@liu.se> Date: Mon, 20 May 2024 10:00:02 +0200 Subject: [PATCH] Lock rexml for PDK 3.2.0 --- puppet-module-pipeline.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml index 7e89f28..7dbd763 100644 --- a/puppet-module-pipeline.yaml +++ b/puppet-module-pipeline.yaml @@ -30,8 +30,13 @@ pdk-validate: touch Gemfile Gemfile.local + # For PDK 3.2.0 + if [ "$PDK_VERSION" == "3.2.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 # For PDK 3.0.1 - if [ "$PDK_VERSION" == "3.0.1" ]; then + elif [ "$PDK_VERSION" == "3.0.1" ]; then echo "Locking puppet_litmus to 1.2.1" sed -e '/"puppet_litmus"/d' -e "/'puppet_litmus'/d" -i Gemfile Gemfile.local echo 'gem "puppet_litmus", "= 1.2.1"' >> Gemfile.local -- GitLab