def test_05_install_conf_rpm(self): """install the 1st client configuration RPM on the client""" # get rid of undesired repos first Util.remove_amazon_rhui_conf_rpm(CLI) Util.disable_beta_repos(CLI) Util.install_pkg_from_rhua(RHUA, CLI, "/tmp/%s-2.0/build/RPMS/noarch/%s-2.0-1.noarch.rpm" % \ (self.test_repos[0], self.test_repos[0]))
def test_09_install_conf_rpm(): ''' install the client configuration RPM ''' # get rid of undesired repos first Util.remove_amazon_rhui_conf_rpm(CLI) Util.disable_beta_repos(CLI) Util.install_pkg_from_rhua( RHUA, CLI, "/tmp/%s-2.0/build/RPMS/noarch/%s-2.0-1.noarch.rpm" % (REPO, REPO))
def test_10_install_conf_rpm(): ''' install the client configuration RPM ''' # get rid of undesired repos first Util.remove_amazon_rhui_conf_rpm(CLI) Util.disable_beta_repos(CLI) Util.install_pkg_from_rhua( RHUA, CLI, "/root/test_cli_rpm-3.0/build/RPMS/noarch/" + "test_cli_rpm-3.0-1.rhui.noarch.rpm") # verify the installation by checking the client configuration RPM version Expect.expect_retval( CLI, "[ `rpm -q --queryformat \"%{VERSION}\" test_cli_rpm` = '3.0' ]")