summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorMike Brady <mike.brady@devnull.net.nz>2008-03-04 00:52:10 +0000
committerMike Brady <mike.brady@devnull.net.nz>2008-03-04 00:52:10 +0000
commit166b1428ba69e72d9e3b75ee0293a38025bc4806 (patch)
treed927ce698c8f566e4c3c06ce9815f6e43db001fa /src/lib/Client
parentefc0cbc2305b02c89c5f2bc7d670a992cb6db7d1 (diff)
downloadbcfg2-166b1428ba69e72d9e3b75ee0293a38025bc4806.tar.gz
bcfg2-166b1428ba69e72d9e3b75ee0293a38025bc4806.tar.bz2
bcfg2-166b1428ba69e72d9e3b75ee0293a38025bc4806.zip
Allow for mixed case false for pkg_checks in RPMng/YUMng
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4397 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/RPMng.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/RPMng.py b/src/lib/Client/Tools/RPMng.py
index 3b4e7cfc0..a93c0ee12 100644
--- a/src/lib/Client/Tools/RPMng.py
+++ b/src/lib/Client/Tools/RPMng.py
@@ -759,7 +759,7 @@ class RPMng(Bcfg2.Client.Tools.PkgTool):
return False
# We don't want to do any checks so we don't care what the entry has in it.
- if self.pkg_checks == 'false' or entry.get('pkg_checks', 'true') == 'false':
+ if self.pkg_checks == 'false' or entry.get('pkg_checks', 'true').lower() == 'false':
return True
instances = entry.findall('Instance')