Skip to content

Commit

Permalink
(PA-6676) Install [email protected] from internal source
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkarsale committed Jun 21, 2024
1 parent 4b93877 commit c4cb361
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configs/components/puppet-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
pkg.build_requires 'pl-ruby'
elsif platform.is_macos?
ruby_version_y = settings[:ruby_version].gsub(/(\d+)\.(\d+)\.(\d+)/, '\1.\2')
pkg.build_requires "ruby@#{ruby_version_y}"
# Pin to an older version of [email protected]. This can be removed once we're no longer cross-compiling
if ruby_version_y == "2.7"
pkg.build_requires "puppetlabs/puppet/[email protected]"
else
pkg.build_requires "ruby@#{ruby_version_y}"
end
end
end

Expand Down

0 comments on commit c4cb361

Please sign in to comment.