diff --git a/acceptance/suites/pre_suite/foss/70_install_puppet.rb b/acceptance/suites/pre_suite/foss/70_install_puppet.rb index 166d741a6..33ed74a82 100644 --- a/acceptance/suites/pre_suite/foss/70_install_puppet.rb +++ b/acceptance/suites/pre_suite/foss/70_install_puppet.rb @@ -21,10 +21,10 @@ nss_package_name="nss" end if nss_package_name - if master['platform'] != 'el-8-x86_64' - master.upgrade_package(nss_package_name) - else + if master['platform'] == 'el-8-x86_64' || master['platform'] == 'el-9-x86_64' master.install_package(nss_package_name) + else + master.upgrade_package(nss_package_name) end else logger.warn("Don't know what nss package to use for #{variant} so not installing one")