diff options
-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'))) |