ansible/test/units/module_utils/facts/system
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
..
distribution fix distribution fact for SLES4SAP (#71559) (#72026) 2020-10-21 15:35:36 -05:00
__init__.py
test_cmdline.py Parse multiple values for single key in cmdline facts (#49591) 2019-02-19 15:47:06 +05:30
test_lsb.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00