summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2022-04-11 16:24:50 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-11 16:50:16 +0000
commit205d3535428e49054807e13a6505eef4e28d9949 (patch)
treea6b0cbfb74f2e046a2ac1fb3fa26347f241d21c7
parenteed8dfd2aa9e9b92db72736f7753f4a088c58ca8 (diff)
downloadmongo-205d3535428e49054807e13a6505eef4e28d9949.tar.gz
SERVER-65422 Fix package test failures on Ubuntu 16.04
-rw-r--r--buildscripts/package_test/recipes/install_mongodb.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb
index 8c3e7c03591..ed12a4aff34 100644
--- a/buildscripts/package_test/recipes/install_mongodb.rb
+++ b/buildscripts/package_test/recipes/install_mongodb.rb
@@ -52,6 +52,13 @@ if platform_family? 'debian'
ENV['DEBIAN_FRONTEND'] = 'noninteractive'
package 'openssl'
+ if node['platform_version'] == '16.04'
+ execute 'update ca-certificates' do
+ command 'apt-get install -y ca-certificates'
+ live_stream true
+ end
+ end
+
# the ubuntu 16.04 image does not have some dependencies installed by default
# and it is required for the install_compass script
execute 'install dependencies' do