diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-06-30 17:59:13 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-06-30 17:59:13 +0000 |
commit | dae5ede5f40b3600f28cacab25414e954034b209 (patch) | |
tree | 8ae5760f253f16f27f365b07201b9393066fba42 | |
parent | f742102d4da79d320c55bcdfa599fb00763ae541 (diff) | |
download | bcfg2-dae5ede5f40b3600f28cacab25414e954034b209.tar.gz bcfg2-dae5ede5f40b3600f28cacab25414e954034b209.tar.bz2 bcfg2-dae5ede5f40b3600f28cacab25414e954034b209.zip |
change to current_exists in case where entries are not installed
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1907 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Client/Debian.py | 2 | ||||
-rw-r--r-- | src/lib/Client/Redhat.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py index 9632bd08c..f54300037 100644 --- a/src/lib/Client/Debian.py +++ b/src/lib/Client/Debian.py @@ -102,7 +102,7 @@ class ToolsetImpl(Bcfg2.Client.Toolset.Toolset): else: entry.set('current_version', self.installed[entry.get('name')]) return False - entry.set('current_version', 'None') + entry.set('current_exists', 'false') return False def Inventory(self): diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py index 142424e60..80aa3a8c8 100644 --- a/src/lib/Client/Redhat.py +++ b/src/lib/Client/Redhat.py @@ -104,7 +104,7 @@ class ToolsetImpl(Toolset): return False else: self.logger.debug("Package %s: not installed" % (entry.get('name'))) - entry.set('current_version', 'None') + entry.set('current_exists', 'false') return False (vstat, output) = self.saferun("rpm --verify -q %s-%s" % (entry.get('name'), entry.get('version'))) |