summaryrefslogtreecommitdiff
path: root/buildscripts/package_test
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2017-11-07 13:33:38 -0500
committerMathew Robinson <chasinglogic@gmail.com>2017-11-07 16:24:51 -0500
commitaae903094206cf51c4b4ad1eba1094e29d586676 (patch)
tree4cf393bfe238e032f96a58f5f70f21b29aa107ed /buildscripts/package_test
parent47ac0405e90508c286cba3ceb4df7238abb21436 (diff)
downloadmongo-aae903094206cf51c4b4ad1eba1094e29d586676.tar.gz
SERVER-31857 Install python on Ubuntu for package tests
Diffstat (limited to 'buildscripts/package_test')
-rw-r--r--buildscripts/package_test/recipes/install_mongodb.rb6
1 files changed, 6 insertions, 0 deletions
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