28 lines
1002 B
Diff
28 lines
1002 B
Diff
|
From e6c0629e1fbbc739a856494641330a346966ccfb Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
|
||
|
Date: Tue, 15 Dec 2015 14:37:54 +0100
|
||
|
Subject: [PATCH 2/2] Reduce information returned from pkg.info_installed
|
||
|
|
||
|
Only report name, epoch (if set), version, release, architecture, and
|
||
|
installtime
|
||
|
---
|
||
|
salt/modules/zypper.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
|
||
|
index 26c0580d027e..2954e8b1f06d 100644
|
||
|
--- a/salt/modules/zypper.py
|
||
|
+++ b/salt/modules/zypper.py
|
||
|
@@ -111,7 +111,7 @@ def info_installed(*names):
|
||
|
salt '*' pkg.info_installed <package1> <package2> <package3> ...
|
||
|
'''
|
||
|
ret = dict()
|
||
|
- for pkg_name, pkg_nfo in __salt__['lowpkg.info'](*names).items():
|
||
|
+ for pkg_name, pkg_nfo in __salt__['lowpkg.minimal_info'](*names).items():
|
||
|
t_nfo = dict()
|
||
|
# Translate dpkg-specific keys to a common structure
|
||
|
for key, value in pkg_nfo.items():
|
||
|
--
|
||
|
2.6.3
|
||
|
|