diff --git a/puppet-module-pipeline.yaml b/puppet-module-pipeline.yaml
index aaccf15cf93153fad9aa79008aefeb957183c89b..9dd9466a5b9e5498529c6c1a038663b8a905a443 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"