summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Neely <jjneely@ncsu.edu>2011-06-10 13:40:41 -0400
committerSol Jerome <sol.jerome@gmail.com>2011-06-14 12:36:46 -0500
commit36aadd161281334c53b39ae028afbb477e0228ec (patch)
tree9555af36b496ac3af136165144c4f9346366d568
parente4f2ac90cb173a75d7e39d643b3e8147085ecca1 (diff)
downloadbcfg2-36aadd161281334c53b39ae028afbb477e0228ec.tar.gz
bcfg2-36aadd161281334c53b39ae028afbb477e0228ec.tar.bz2
bcfg2-36aadd161281334c53b39ae028afbb477e0228ec.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