From aca5b0e43be4d7bd067abc6631978b1cdfa75d84 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Fri, 5 Feb 2021 15:58:02 -0500 Subject: [PATCH] [setup_rpm_repo test] Ensure rpm-build is present (#73516) Change: - Other targets might remove rpm-build as they clean up after themselves. Ensure that it's present in setup_rpm_repo because rpmfluff needs it. Test Plan: - Local experimentation with yum_repository and mysql_db (the latter of which depends on a handler which was removing rpm-build) on stable-2.9. Signed-off-by: Rick Elrod --- test/integration/targets/setup_rpm_repo/vars/Fedora.yml | 1 + test/integration/targets/setup_rpm_repo/vars/RedHat-6.yml | 1 + test/integration/targets/setup_rpm_repo/vars/RedHat-7.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/test/integration/targets/setup_rpm_repo/vars/Fedora.yml b/test/integration/targets/setup_rpm_repo/vars/Fedora.yml index 6e8fdaaaf12..004f42bc997 100644 --- a/test/integration/targets/setup_rpm_repo/vars/Fedora.yml +++ b/test/integration/targets/setup_rpm_repo/vars/Fedora.yml @@ -1,3 +1,4 @@ rpm_repo_packages: - "{{ 'python' ~ rpm_repo_python_major_version ~ '-rpmfluff' }}" - createrepo + - rpm-build diff --git a/test/integration/targets/setup_rpm_repo/vars/RedHat-6.yml b/test/integration/targets/setup_rpm_repo/vars/RedHat-6.yml index 69615d2cc08..6edee17d01d 100644 --- a/test/integration/targets/setup_rpm_repo/vars/RedHat-6.yml +++ b/test/integration/targets/setup_rpm_repo/vars/RedHat-6.yml @@ -1,4 +1,5 @@ rpm_repo_packages: + - rpm-build - python-rpmfluff - createrepo_c - createrepo diff --git a/test/integration/targets/setup_rpm_repo/vars/RedHat-7.yml b/test/integration/targets/setup_rpm_repo/vars/RedHat-7.yml index 69615d2cc08..6edee17d01d 100644 --- a/test/integration/targets/setup_rpm_repo/vars/RedHat-7.yml +++ b/test/integration/targets/setup_rpm_repo/vars/RedHat-7.yml @@ -1,4 +1,5 @@ rpm_repo_packages: + - rpm-build - python-rpmfluff - createrepo_c - createrepo