Skip to content

Commit

Permalink
Merge pull request #3267 from donoghuc/fix-component-acceptance
Browse files Browse the repository at this point in the history
(main) Update component acceptance tests to pin highline
  • Loading branch information
donoghuc authored Feb 9, 2024
2 parents 43abac8 + f9b7681 commit 9636131
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions acceptance/setup/common/pre-suite/010_install_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,23 @@
# semantic puppet no longer supports ruby < 2.7
on(bolt, powershell('gem install semantic_puppet -v 1.0.4'))
on(bolt, powershell('gem install puppet -v 7.24.0'))
on(bolt, powershell('gem install highline -v 2.1.0'))
when /debian|ubuntu/
# install system ruby packages
install_package(bolt, 'ruby')
install_package(bolt, 'ruby-ffi')
# semantic puppet no longer supports ruby < 2.7
on(bolt, 'gem install semantic_puppet -v 1.0.4')
on(bolt, 'gem install puppet -v 7.24.0')
on(bolt, 'gem install highline -v 2.1.0')
when /el-|centos/
# install system ruby packages
install_package(bolt, 'ruby')
install_package(bolt, 'rubygem-json')
install_package(bolt, 'rubygem-ffi')
install_package(bolt, 'rubygem-bigdecimal')
install_package(bolt, 'rubygem-io-console')
on(bolt, 'gem install highline -v 2.1.0')
when /fedora/
# install system ruby packages
install_package(bolt, 'ruby')
Expand All @@ -59,6 +62,7 @@
install_package(bolt, 'rubygem-json')
install_package(bolt, 'rubygem-bigdecimal')
install_package(bolt, 'rubygem-io-console')
on(bolt, 'gem install highline -v 2.1.0')
when /osx/
# System ruby for osx is 2.3. winrm-fs and its dependencies require > 2.3.
on(bolt, 'gem install winrm-fs -v 1.3.3 --no-document')
Expand All @@ -67,6 +71,7 @@
# semantic puppet no longer supports ruby < 2.7
on(bolt, 'gem install semantic_puppet -v 1.0.4')
on(bolt, 'gem install puppet -v 7.24.0')
on(bolt, 'gem install highline -v 2.1.0')
else
fail_test("#{bolt['platform']} not currently a supported bolt controller")
end
Expand Down

0 comments on commit 9636131

Please sign in to comment.