From a9a9e3af654e44eed593ba5a43ce8ef611a92819 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 14 Mar 2012 00:38:38 -0400 Subject: [PATCH] modify yum to be used with argsfile and fix a number of items with how it handles "advanced" pkgspecs for the state= cases --- library/yum | 55 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/library/yum b/library/yum index f2f02bb86f..a6e275b9a3 100755 --- a/library/yum +++ b/library/yum @@ -117,7 +117,6 @@ def ensure(my, state, pkgspec): yumconf = my.conf.config_file_path res = {} if state == 'installed': - pkg = None # check if pkgspec is installed if re.search('[>