-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #911 from jonathannewman/PE-39261/master/add-2023.8.x
(PE-39261) add configurations for 2023.8.x
- Loading branch information
Showing
4 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project 'client-tools-runtime-2023.8.x' do |proj| | ||
proj.setting(:openssl_version, '3.0') | ||
|
||
# Common settings | ||
instance_eval File.read(File.join(File.dirname(__FILE__), '_shared-client-tools-runtime.rb')) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
project 'pe-bolt-server-runtime-2023.8.x' do |proj| | ||
proj.setting(:pe_version, '2023.8') | ||
proj.setting(:rubygem_puppet_version, '8.8.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 | ||
# Once we are no longer using ruby 2.5 we can update. | ||
proj.setting(:no_doc, true) | ||
|
||
proj.setting(:ruby_version, '3.2.5') | ||
proj.setting(:openssl_version, '3.0') | ||
|
||
# We enable legacy algorithms for winrm transport. Currently the winrm transport | ||
# does not work on FIPS, so in order to stay compliant we do not enable legacy algorithms | ||
# on fips builds. | ||
if proj.get_platform.name =~ /^redhatfips/ | ||
proj.setting(:use_legacy_openssl_algos, false) | ||
else | ||
proj.setting(:use_legacy_openssl_algos, true) | ||
end | ||
|
||
instance_eval File.read(File.join(File.dirname(__FILE__), '_shared-pe-bolt-server_with_ruby.rb')) | ||
# These are ruby 3/puppet 8 specific gems. Some of them are "default/standard" gems. There | ||
# is a very annoying issue where default gems can be loaded by MRI but not jruby. | ||
# We explicitly pacakge up some default gems where we have explicit dependencies for jruby | ||
proj.component 'rubygem-prime' | ||
proj.component 'rubygem-rexml' | ||
proj.component 'rubygem-getoptlong' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
project 'pe-installer-runtime-2023.8.x' do |proj| | ||
proj.setting(:ruby_version, '3.2.5') | ||
proj.setting(:openssl_version, '3.0') | ||
# NLTM uses MD4 unconditionally in its protocol, so legacy algos must be | ||
# enabled in OpenSSL >= 3.0 for Bolt's WinRM transport to work. | ||
# We DO NOT WANT legacy algos enabled for the Puppet Agent runtime. | ||
proj.setting(:use_legacy_openssl_algos, true) | ||
|
||
# rubygem-net-ssh included in shared-agent-components | ||
proj.setting(:rubygem_net_ssh_version, '7.2.3') | ||
proj.setting(:rubygem_puppet_version, '8.8.1') | ||
instance_eval File.read(File.join(File.dirname(__FILE__), '_shared-pe-installer-runtime.rb')) | ||
end |