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/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.
4 years ago
..
fixtures fix distribution fact for SLES4SAP (#71559) 4 years ago
__init__.py distribution: Refactor test_distribution_version testcases (#69300) 4 years ago
conftest.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 4 years ago
test_distribution_sles4sap.py fix distribution fact for SLES4SAP (#71559) 4 years ago
test_distribution_version.py distribution: Add support for DragonFly (#70748) 4 years ago
test_parse_distribution_file_ClearLinux.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 4 years ago
test_parse_distribution_file_Slackware.py Handle Slackware OS version strings containing a plus (“+”) (#68142) 4 years ago