summaryrefslogtreecommitdiff
path: root/buildscripts/package_test/recipes
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2019-04-04 14:24:58 -0400
committerBrian McCarthy <brian.mccarthy@mongodb.com>2019-04-08 15:29:54 -0400
commit25211c43506ae212b20e830654a80d96e2a73bea (patch)
tree7348d5d7638434c52e913dab91e9dac2c174d6e6 /buildscripts/package_test/recipes
parent4cd74465dc857148e897654d31195226ef665e70 (diff)
downloadmongo-25211c43506ae212b20e830654a80d96e2a73bea.tar.gz
SERVER-40491 Update Debian 8 image for package test
Diffstat (limited to 'buildscripts/package_test/recipes')
-rw-r--r--buildscripts/package_test/recipes/install_mongodb.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb
index 34134dc9bfa..4814d80e5a1 100644
--- a/buildscripts/package_test/recipes/install_mongodb.rb
+++ b/buildscripts/package_test/recipes/install_mongodb.rb
@@ -28,6 +28,18 @@ execute 'extract artifacts' do
end
if platform_family? 'debian'
+
+ # SERVER-40491 Debian 8 sources.list need to point to archive url
+ if node['platform_version'] == '8.1'
+ cookbook_file '/etc/apt/sources.list' do
+ source 'sources.list.debian8'
+ owner 'root'
+ group 'root'
+ mode '0644'
+ action :create
+ end
+ end
+
execute 'apt-get update' do
command 'apt-get update'
end