mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
562ff66a98
* Properly handle default package manager vs apt For distros where apt might be installed but is not the default package manager for the distro, properly identify the default distro package manager during fact finding and re-use fact finding from DistributionFactCollector and instead of reimplementing small portions of it in PkgMgrFactCollector Add unit test to always check the apt + Fedora combination to test the new code. Fixes #34014 Signed-off-by: Adam Miller <admiller@redhat.com> * remove q debugging output I accidentally left behind Signed-off-by: Adam Miller <admiller@redhat.com> * add os_family to the conditional so we're only hitting that code path when needed Signed-off-by: Adam Miller <admiller@redhat.com> * setup for a _check* pattern for general os_family group pkg_mgr checking Signed-off-by: Adam Miller <admiller@redhat.com> * use Mock.patch decorator for os.path.exists in TestPkgMgrFactsAptFedora Signed-off-by: Adam Miller <admiller@redhat.com> |
||
---|---|---|
.. | ||
aws | ||
basic | ||
cloud | ||
common | ||
ec2 | ||
facts | ||
gcp | ||
json_utils | ||
net_tools | ||
network | ||
parsing | ||
urls | ||
__init__.py | ||
conftest.py | ||
test_database.py | ||
test_distribution_version.py | ||
test_known_hosts.py | ||
test_postgresql.py | ||
test_text.py |