Module: check_mk
Branch: master
Commit: 2a986ab1521070f8765deed904ddde04c642f495
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a986ab1521070…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 13 14:18:33 2016 +0200
3025 FIX solaris_pkginfo: the last element of the reported software package list was
always missing
---
.werks/3025 | 9 +++++++++
ChangeLog | 1 +
inventory/solaris_pkginfo | 2 ++
3 files changed, 12 insertions(+)
diff --git a/.werks/3025 b/.werks/3025
new file mode 100644
index 0000000..f4e35e8
--- /dev/null
+++ b/.werks/3025
@@ -0,0 +1,9 @@
+Title: solaris_pkginfo: the last element of the reported software package list was always
missing
+Level: 1
+Component: inv
+Compatible: compat
+Version: 1.2.9i1
+Date: 1460549851
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 1d4c042..4c365c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -311,6 +311,7 @@
* 3289 FIX: Fixed missing filters in HW-/SW-Inventory views after editing the
view...
* 3013 FIX: Inventory: snmp inventory plugins never use cached data...
* 3340 FIX: Fixed exception when searching for software package sizes
+ * 3025 FIX: solaris_pkginfo: the last element of the reported software package list
was always missing
1.2.8b1:
diff --git a/inventory/solaris_pkginfo b/inventory/solaris_pkginfo
index 38031ba..a243907 100644
--- a/inventory/solaris_pkginfo
+++ b/inventory/solaris_pkginfo
@@ -86,6 +86,8 @@ def inv_solaris_pkginfo(info):
for tkey in translation_dict:
if key == tkey:
entry.update({ translation_dict[tkey] : value.strip()})
+ if entry:
+ paclist.append(entry)
inv_info['solaris_pkginfo'] = {