From aae903094206cf51c4b4ad1eba1094e29d586676 Mon Sep 17 00:00:00 2001 From: Mathew Robinson Date: Tue, 7 Nov 2017 13:33:38 -0500 Subject: SERVER-31857 Install python on Ubuntu for package tests --- buildscripts/package_test/recipes/install_mongodb.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'buildscripts/package_test') diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb index d8ea9041b70..0d6c2e7b79f 100644 --- a/buildscripts/package_test/recipes/install_mongodb.rb +++ b/buildscripts/package_test/recipes/install_mongodb.rb @@ -56,6 +56,12 @@ if platform_family? 'debian' command 'apt-get update && apt-get -y -f install' end + # the ubuntu 16.04 image does not have python installed by default + # and it is required for the install_compass script + execute 'install python' do + command 'apt-get install -y python' + end + execute 'install mongo shell' do command 'dpkg -i `find . -name "*shell*.deb"`' cwd homedir -- cgit v1.2.1