From 0ab8c507f41f2c3c8a25f469744a46d23b069013 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 4 Dec 2017 10:44:29 -0500 Subject: [PATCH] Install python-rhsm-certificates, handle python-boto Add python-rhsm-certificates to the list of packages that we require, so that the required certificates are available for the pull-image-with-signature tests. Add per-distribution package install tasks so that we install either python2-boto or python-boto, depending on whether we're running on Fedora or RHEL/CentOS, respectively. Signed-off-by: Nalin Dahyabhai --- contrib/test/integration/system.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/contrib/test/integration/system.yml b/contrib/test/integration/system.yml index d07ae0c8..1c43f431 100644 --- a/contrib/test/integration/system.yml +++ b/contrib/test/integration/system.yml @@ -41,9 +41,9 @@ - ostree-devel - pkgconfig - python - - python2-boto - python2-crypto - python-devel + - python-rhsm-certificates - python-virtualenv - PyYAML - redhat-rpm-config @@ -57,6 +57,22 @@ async: 600 poll: 10 +- name: Add python2-boto for Fedora + package: + name: "{{ item }}" + state: present + with_items: + - python2-boto + when: ansible_distribution in ['Fedora'] + +- name: Add python-boto for RHEL and CentOS + package: + name: "{{ item }}" + state: present + with_items: + - python-boto + when: ansible_distribution in ['RedHat', 'CentOS'] + - name: Add Btrfs for Fedora package: name: "{{ item }}"