You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
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>
6 years ago
..
host_vars Simplify Windows versions in ansible-test. 7 years ago
targets Fix pkg_mgr_name fact finding for Fedora (#40922) 6 years ago
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 7 years ago
cloud-config-azure.yml.template Fix Azure config template. 7 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 7 years ago
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 7 years ago
cloud-config-opennebula.yml.template opennebula: new module one_host (#40041) 6 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 7 years ago
cloud-config-tower.cfg.template Initial Tower module integration test support. 7 years ago
integration.cfg Fix ansible-test config management. 7 years ago
integration_config.yml Fix pip integration test. 7 years ago
inventory Use the computed role name instead of 'role'. Fixes #38838 (#39516) 6 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 7 years ago
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 8 years ago
inventory.winrm.template Increase python version coverage for tests. (#24762) 7 years ago
network-integration.cfg increase timeout for connection reset by peer issue with httpapi (#41224) 6 years ago
target-prefixes.network Add cnos to network target prefixes. 6 years ago
windows-integration.cfg Fix ansible-test config management. 7 years ago