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
Adrian Likins ec9769c82f
Facts distribution clear linux 31501 (#32453)
The search string used to look for Clear Linux
was changed in 45a9f96774 to
be more specific, but was too specific. Now finding
a substring match for 'Clear Linux' in /usr/lib/os-release
is enough to consider a match.

Since the details of the full name in os-release varies
('Clear Linux Software for Intel Architecture',
 'Clear Linux OS for Intel Architecture', etc) the
search string match was failing and would fall back to the
'first word in the release file' method resulting in
ansible_distribution='NAME="Clear'

Also add a meta fact indicating which search string
was matched.

Test case info from:
        https://github.com/ansible/ansible/issues/31501#issuecomment-340861535

Fixes #31501
7 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
compile Fix Python 3.7 syntax error in yum_repository. 7 years ago
integration Support using vault password files that are themselves vault encrypted (#27668) 7 years ago
legacy vultr: new module vr_dns_record (#34423) 7 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner Simplify Windows versions in ansible-test. 7 years ago
sanity Fixes some bugs and things (#35122) 7 years ago
units Facts distribution clear linux 31501 (#32453) 7 years ago
utils Simplify Windows versions in ansible-test. 7 years ago