Package facts apt fix (#55963)

* fixes for apt on package_facts

* reverse order, apt is newer

* moved warnings prop to base
This commit is contained in:
Brian Coca
2019-05-01 22:11:12 -04:00
committed by GitHub
parent edafa71f42
commit 24a46deef5
3 changed files with 19 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ def get_all_pkg_managers():
class PkgMgr(with_metaclass(ABCMeta, object)):
warnings = []
@abstractmethod
def is_available(self):
# This method is supposed to return True/False if the package manager is currently installed/usable