ansible/test/units/module_utils/facts
Christian Loos 505df0d564
fix distribution fact for SLES4SAP (#71559) (#72026)
b6b238a fixed the SLES4SAP detection, which was at this time ok.
Sadly Suse changed with SLES 15 the /etc/os-release file, so the above
change will no longer work.

This commit updates the SLES4SAP detection regarding
https://www.suse.com/support/kb/doc/?id=000019341.

The symlink realpath is matched with endswith, because in SLES 12+ the
link target is SLES_SAP.prod, but in SLES 11 the link target is
SUSE_SLES_SAP.prod.

(cherry picked from commit ea119d3089)
2020-10-21 15:35:36 -05:00
..
fixtures [stable-2.10] Handle Slackware OS version strings containing a plus (“+”) (#68142) (#70717) 2020-07-21 11:21:07 -07:00
hardware [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
network [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
other [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
system fix distribution fact for SLES4SAP (#71559) (#72026) 2020-10-21 15:35:36 -05:00
__init__.py
base.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_ansible_collector.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_collector.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_collectors.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_date_time.py [stable-2.10] facts - fix incorrect time for some date_time_facts (#70665) (#70996) 2020-07-30 13:37:19 -07:00
test_facts.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_timeout.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_utils.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00