diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml index 7e89f28c029a913e163343e472d5dc1bd54f2202..7dbd7638a76a7f5e640c100d216878929f0078b8 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