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>
2021-02-02 15:09:30 -05:00
..
fixtures Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
hardware Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
network Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
other Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
system user - Prevent user fact lookup failure if LOGNAME is set (#17029) (#73439) 2021-02-02 10:36:02 -05:00
virtual facts - properly report virtualization facts for Linux guests on bhyve (#73204) 2021-01-14 10:53:03 -05:00
__init__.py
base.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_ansible_collector.py Correct pkg_mgr for Fedora-derived OSTree distros (#73445) 2021-02-02 15:09:30 -05:00
test_collector.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_collectors.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_date_time.py Fix typos (#71970) 2020-09-28 14:33:24 -04:00
test_facts.py setup: Handle CIFS share with backward slash (#70006) 2020-06-30 16:09:35 -04:00
test_sysctl.py sysctl/openbsd fact fixes (#72070) 2020-10-02 18:36:31 -05:00
test_timeout.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00
test_utils.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00