summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Neely <jjneely@ncsu.edu>2011-06-10 13:40:41 -0400
committerJack Neely <jjneely@ncsu.edu>2011-06-10 14:01:16 -0400
commit88b5fd123fd122ae704190c87f0c3c55fe8104af (patch)
tree9555af36b496ac3af136165144c4f9346366d568
parent90c85147bacea14771abf8faa1fc5f185418d14b (diff)
downloadbcfg2-88b5fd123fd122ae704190c87f0c3c55fe8104af.tar.gz
bcfg2-88b5fd123fd122ae704190c87f0c3c55fe8104af.tar.bz2
bcfg2-88b5fd123fd122ae704190c87f0c3c55fe8104af.zip
Make -q turn off package verification in YUMng
This make the YUMng verification behavior like the APT tool. Before hand we just turned off package checksums which only worked with very new versions of Yum.
-rw-r--r--src/lib/Client/Tools/YUMng.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py
index 34d463941..324307f7f 100644
--- a/src/lib/Client/Tools/YUMng.py
+++ b/src/lib/Client/Tools/YUMng.py
@@ -485,6 +485,9 @@ class YUMng(Bcfg2.Client.Tools.PkgTool):
qtext_versions.append("U(%s)" % str(POs[0]))
continue
+ if self.setup.get('quick', False):
+ # Passed -q on the command line
+ continue
if not (pkg_verify and \
inst.get('pkg_verify', 'true').lower() == 'true'):
continue