ansible/test/units/module_utils/facts/system/distribution
Christian Loos ea119d3089
fix distribution fact for SLES4SAP (#71559)
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.
2020-09-30 10:52:41 -04:00
..
fixtures fix distribution fact for SLES4SAP (#71559) 2020-09-30 10:52:41 -04:00
__init__.py
conftest.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
test_distribution_sles4sap.py fix distribution fact for SLES4SAP (#71559) 2020-09-30 10:52:41 -04:00
test_distribution_version.py distribution: Add support for DragonFly (#70748) 2020-07-21 13:47:11 -04:00
test_parse_distribution_file_ClearLinux.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00
test_parse_distribution_file_Slackware.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 2020-07-17 16:39:26 -04:00