From da5e201b0786638801346dfe443f4fe83fe530b2 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 30 Apr 2015 17:48:03 -0700 Subject: [PATCH] Change python-q into sharutils as the epel repo for centos6 is being funky. --- test/integration/roles/test_yum/tasks/yum.yml | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/test/integration/roles/test_yum/tasks/yum.yml b/test/integration/roles/test_yum/tasks/yum.yml index 78bb9abf78..923717552b 100644 --- a/test/integration/roles/test_yum/tasks/yum.yml +++ b/test/integration/roles/test_yum/tasks/yum.yml @@ -84,8 +84,8 @@ - "not yum_result.changed" # Multiple packages -- name: uninstall sos and python-q - yum: name=sos,python-q state=removed +- name: uninstall sos and sharutils + yum: name=sos,sharutils state=removed register: yum_result - name: check sos with rpm @@ -93,19 +93,19 @@ failed_when: False register: rpm_sos_result -- name: check python-q with rpm - shell: rpm -q python-q +- name: check sharutils with rpm + shell: rpm -q sharutils failed_when: False - register: rpm_python_q_result + register: rpm_sharutils_result - name: verify packages installed assert: that: - "rpm_sos_result.rc != 0" - - "rpm_python_q_result.rc != 0" + - "rpm_sharutils_result.rc != 0" -- name: install sos and python-q as comma separated - yum: name=sos,python-q state=present +- name: install sos and sharutils as comma separated + yum: name=sos,sharutils state=present register: yum_result - name: check sos with rpm @@ -113,10 +113,10 @@ failed_when: False register: rpm_sos_result -- name: check python-q with rpm - shell: rpm -q python-q +- name: check sharutils with rpm + shell: rpm -q sharutils failed_when: False - register: rpm_python_q_result + register: rpm_sharutils_result - name: verify packages installed assert: @@ -124,17 +124,17 @@ - "yum_result.rc == 0" - "yum_result.changed" - "rpm_sos_result.rc == 0" - - "rpm_python_q_result.rc == 0" + - "rpm_sharutils_result.rc == 0" -- name: uninstall sos and python-q - yum: name=sos,python-q state=removed +- name: uninstall sos and sharutils + yum: name=sos,sharutils state=removed register: yum_result -- name: install sos and python-q as list +- name: install sos and sharutils as list yum: name: - sos - - python-q + - sharutils state: present register: yum_result @@ -143,10 +143,10 @@ failed_when: False register: rpm_sos_result -- name: check python-q with rpm - shell: rpm -q python-q +- name: check sharutils with rpm + shell: rpm -q sharutils failed_when: False - register: rpm_python_q_result + register: rpm_sharutils_result - name: verify packages installed assert: @@ -154,15 +154,15 @@ - "yum_result.rc == 0" - "yum_result.changed" - "rpm_sos_result.rc == 0" - - "rpm_python_q_result.rc == 0" + - "rpm_sharutils_result.rc == 0" -- name: uninstall sos and python-q - yum: name=sos,python-q state=removed +- name: uninstall sos and sharutils + yum: name=sos,sharutils state=removed register: yum_result -- name: install sos and python-q as comma separated with spaces +- name: install sos and sharutils as comma separated with spaces yum: - name: "sos, python-q" + name: "sos, sharutils" state: present register: yum_result @@ -172,9 +172,9 @@ register: rpm_sos_result - name: check sos with rpm - shell: rpm -q python-q + shell: rpm -q sharutils failed_when: False - register: rpm_python_q_result + register: rpm_sharutils_result - name: verify packages installed assert: @@ -182,7 +182,7 @@ - "yum_result.rc == 0" - "yum_result.changed" - "rpm_sos_result.rc == 0" - - "rpm_python_q_result.rc == 0" + - "rpm_sharutils_result.rc == 0" -- name: uninstall sos and python-q - yum: name=sos,python-q state=removed +- name: uninstall sos and sharutils + yum: name=sos,sharutils state=removed