diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 267e412e..fe5b3560 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -610,6 +610,14 @@ class YumHelper(object): pl = self.yb.doPackageLists(patterns=[pattern]) return pl.installed, pl.available + @property + def installed_packages(self): + pl = self.yb.doPackageLists() + return pl.installed + + def get_file_list(self, package): + return package.returnFileEntries() + class RpmCallback(yum.rpmtrans.SimpleCliCallBack):