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/units/module_utils/facts
Rick Elrod 9a9272305a
Correct pkg_mgr for Fedora-derived OSTree distros (#73445)
Change:
- Remove check that states that only Fedora can be an OSTree
  distribution.
- This allows us to correctly return "atomic_container" as the pkg_mgr
  fact for RHEL for Edge, Fedora/RHEL/CentOS Atomic Host, etc.

Test Plan:
- Created local RHEL for Edge image and tested against it.
- Tested against regular RHEL 8 and still got `dnf` as expected.
- Tested against RHEL 7 Atomic Host and got `atomic_container` now.
- New unit tests.

Tickets:
- Fixes #73084

Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
..
fixtures Handle Slackware OS version strings containing a plus (“+”) (#68142) 6 years ago
hardware Clean up unit test boilerplate. 6 years ago
network Clean up unit test boilerplate. 6 years ago
other Clean up unit test boilerplate. 6 years ago
system user - Prevent user fact lookup failure if LOGNAME is set (#17029) (#73439) 5 years ago
virtual facts - properly report virtualization facts for Linux guests on bhyve (#73204) 5 years ago
__init__.py Facts Timeout was not settable via ansible.cfg 9 years ago
base.py Clean up unit test boilerplate. 6 years ago
test_ansible_collector.py Correct pkg_mgr for Fedora-derived OSTree distros (#73445) 5 years ago
test_collector.py Clean up unit test boilerplate. 6 years ago
test_collectors.py Clean up unit test boilerplate. 6 years ago
test_date_time.py Fix typos (#71970) 5 years ago
test_facts.py setup: Handle CIFS share with backward slash (#70006) 6 years ago
test_sysctl.py sysctl/openbsd fact fixes (#72070) 5 years ago
test_timeout.py Clean up unit test boilerplate. 6 years ago
test_utils.py Clean up unit test boilerplate. 6 years ago