ansible/test/units/module_utils
Adam Miller 562ff66a98 Fix pkg_mgr_name fact finding for Fedora (#40922)
* 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>
2018-07-23 10:56:09 -04:00
..
aws
basic Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
cloud
common Provide kubernetes definition diffs in check_mode (#41471) 2018-07-11 16:32:03 +10:00
ec2 Provide kubernetes definition diffs in check_mode (#41471) 2018-07-11 16:32:03 +10:00
facts Fix pkg_mgr_name fact finding for Fedora (#40922) 2018-07-23 10:56:09 -04:00
gcp [GCP] New module GCP DNS Resource Record Set (#35920) 2018-04-12 07:31:43 -04:00
json_utils
net_tools Fix for updating the name in case of host record and network view and also display meaningful error in case of connection timeout (#40597) 2018-05-31 12:25:15 +05:30
network Issue #39860: Add 'not_contains' method to parsing.py (#39874) 2018-06-27 10:21:17 +05:30
parsing
urls Add requests.Session like class (#37622) 2018-06-01 11:44:20 -05:00
__init__.py
conftest.py
test_database.py
test_distribution_version.py facts: suse: Fix major version detection for SUSE (#41416) 2018-06-18 09:53:50 -04:00
test_known_hosts.py
test_postgresql.py
test_text.py