ansible/test/units/module_utils/facts/system
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
..
distribution fix distribution fact for SLES4SAP (#71559) 2020-09-30 10:52:41 -04:00
__init__.py
test_cmdline.py
test_lsb.py Clean up unit test boilerplate. 2020-06-22 14:20:33 -07:00