Skip to content

Commit

Permalink
Merge pull request #780 from joshcooper/bump_compatible_puppet
Browse files Browse the repository at this point in the history
(PA-5960) Bump vendored puppet gems for concurrent-ruby 1.2.2 compat
  • Loading branch information
mhashizume authored Dec 20, 2023
2 parents 9ba6ad1 + 695617b commit 2f16000
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions configs/components/rubygem-puppet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@
version = settings[:rubygem_puppet_version] || '6.28.0'
pkg.version version

# There are 4 platform-specific puppet gems for each tag:
#
# generic
# universal-darwin
# x64-mingw32
# x86_mingw32
#
# Always use the generic version below
case version
when '8.3.1'
pkg.md5sum '9cff495eff59639fce989dceeff34560'
when '8.0.1'
pkg.md5sum '7e87d988e485c0f0c3d6ef76bd39409d'
when '7.27.0'
pkg.md5sum '6a49f375dffe5f786ed474b3eaaaf931'
when '7.26.0'
pkg.md5sum '347ec39281f59232be5cbb47daf9b539'
when '6.28.0'
Expand Down
2 changes: 1 addition & 1 deletion configs/projects/bolt-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
proj.setting(:augeas_version, '1.11.0')
# TODO: Can runtime projects use these updated versions?
proj.setting(:rubygem_deep_merge_version, '1.2.2')
proj.setting(:rubygem_puppet_version, '7.26.0')
proj.setting(:rubygem_puppet_version, '7.27.0')

platform = proj.get_platform

Expand Down
2 changes: 1 addition & 1 deletion configs/projects/pe-bolt-server-runtime-2021.7.x.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project 'pe-bolt-server-runtime-2021.7.x' do |proj|
proj.setting(:pe_version, '2021.7')
proj.setting(:rubygem_puppet_version, '7.26.0')
proj.setting(:rubygem_puppet_version, '7.27.0')
proj.setting(:rubygem_puppet_strings_version, '3.0.1')
proj.setting(:rubygem_net_ssh_version, '6.1.0')
# We build bolt server with the ruby installed in the puppet-agent dep. For ruby 2.7 we need to use a --no-document flag
Expand Down
2 changes: 1 addition & 1 deletion configs/projects/pe-bolt-server-runtime-main.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project 'pe-bolt-server-runtime-main' do |proj|
proj.setting(:pe_version, 'main')
proj.setting(:rubygem_puppet_version, '8.0.1')
proj.setting(:rubygem_puppet_version, '8.3.1')
proj.setting(:rubygem_net_ssh_version, '7.0.1')
# We build bolt server with the ruby installed in the puppet-agent dep. For ruby 2.7 we need to use a --no-document flag
# for gem installs instead of --no-ri --no-rdoc. This setting allows us to use this while we support both ruby 2.5 and 2.7
Expand Down

0 comments on commit 2f16000

Please sign in to comment.