diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml
index 8a2fe41b3540e00d21a77a4c05da0fc9823149ac..96f6afaf1dbbc13f04bb726648630f72a7139fb7 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"