Skip to content

Commit ba95447

Browse files
authored
Merge pull request #3206 from donoghuc/pin-semantic-puppet
(maint) Pin sematic-puppet for component acceptance
2 parents b0ffcc0 + 4b1fe26 commit ba95447

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ if File.exist? local_gemfile
4141
end
4242

4343
# TODO: remove this pin once we solve PE-35920
44-
gem "puppet", '~> 7.24'
44+
gem "puppet", '~> 7.24'

acceptance/setup/common/pre-suite/010_install_ruby.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
on(bolt, powershell('gem install puppet-strings -v 2.9.0'))
2626
# net-ssh 7.x no longer supports ruby 2.5
2727
on(bolt, powershell('gem install net-ssh -v 6.1.0'))
28+
# semantic puppet no longer supports ruby < 2.7
29+
on(bolt, powershell('gem install semantic_puppet -v 1.0.4'))
2830
when /debian|ubuntu/
2931
# install system ruby packages
3032
install_package(bolt, 'ruby')
@@ -44,6 +46,8 @@
4446
install_package(bolt, 'libffi-devel')
4547
install_package(bolt, 'redhat-rpm-config')
4648
on(bolt, "dnf group install -y 'C Development Tools and Libraries'")
49+
# semantic puppet no longer supports ruby < 2.7
50+
on(bolt, 'gem install semantic_puppet -v 1.0.4')
4751
install_package(bolt, 'rubygem-json')
4852
install_package(bolt, 'rubygem-bigdecimal')
4953
install_package(bolt, 'rubygem-io-console')
@@ -52,6 +56,8 @@
5256
on(bolt, 'gem install winrm-fs -v 1.3.3 --no-document')
5357
# System ruby for osx12 is 2.6, which can only manage puppet-strings 2.9.0
5458
on(bolt, 'gem install puppet-strings -v 2.9.0 --no-document')
59+
# semantic puppet no longer supports ruby < 2.7
60+
on(bolt, 'gem install semantic_puppet -v 1.0.4')
5561
else
5662
fail_test("#{bolt['platform']} not currently a supported bolt controller")
5763
end

0 commit comments

Comments
 (0)