From b0aeed9445ff41af07449fa757e1f231bce990b3 Mon Sep 17 00:00:00 2001 From: Brian McCarthy Date: Wed, 8 Jun 2022 21:32:40 +0000 Subject: SERVER-67139 Update rhel6 package test ami --- buildscripts/package_test/.kitchen.yml | 5 ++--- buildscripts/package_test/recipes/install_mongodb.rb | 7 +------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/buildscripts/package_test/.kitchen.yml b/buildscripts/package_test/.kitchen.yml index 2d0db191749..d31c86a2529 100644 --- a/buildscripts/package_test/.kitchen.yml +++ b/buildscripts/package_test/.kitchen.yml @@ -62,10 +62,9 @@ platforms: username: admin - name: rhel62-x86-64 driver: - # Use rhel 6.5 chef fails on previous versions. - image_id: ami-5b697332 + image_id: ami-0a47672f6c7827dd2 transport: - username: root + username: ec2-user instance_type: t2.small - name: rhel70-x86-64 driver: diff --git a/buildscripts/package_test/recipes/install_mongodb.rb b/buildscripts/package_test/recipes/install_mongodb.rb index d9d21680b70..56385dbc2b0 100644 --- a/buildscripts/package_test/recipes/install_mongodb.rb +++ b/buildscripts/package_test/recipes/install_mongodb.rb @@ -21,12 +21,7 @@ if platform_family? 'rhel' end end -if %w(6 7).include?(node['platform_version'][0]) and node['platform'] == 'redhat' - - # RHEL 6 client - if node['platform'] == 'redhat' and node['platform_version'][0] == "6" - rhui_client_url = "http://boxes.10gen.com/build/rh-amazon-rhui-client-els-3.0.45-1.el6.noarch.rpm" - end +if %w(7).include?(node['platform_version'][0]) and node['platform'] == 'redhat' # RHEL 7 client if node['platform'] == 'redhat' and node['platform_version'][0] == "7" -- cgit v1.2.1