mirror of https://github.com/ansible/ansible.git
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.
fbd828673d
* Fix distro fact handling for Flatcar The existence of the file /etc/flatcar/update.conf depends on bootstrap configuration typically provided by the user. For that reason this file is unsuitable for determining distro facts for Flatcar Container Linux. The distribution_release fact is meaningless in the case of Flatcar since Flatcar doesn't have named releases. The distribution_version fact, however, IS meaningful and should contain a number such as "3139.2.0". - Use /etc/os-release instead of /etc/flatcar/update.conf. - Drop the distribution_release fact. - Set the distribution_version fact. - Update distro test fixture for Flatcar - Generate the fixture using gen_distribution_version_testcase.py. - Override result.distribution and result.os_family manually as the generator script gives wrong values. - Use a recent Flatcar version. Signed-off-by: Johanan Liebermann <jliebermann@microsoft.com> |
2 years ago | |
---|---|---|
.. | ||
fixtures | ||
hardware | 2 years ago | |
network | 2 years ago | |
other | 2 years ago | |
system | 2 years ago | |
virtual | 3 years ago | |
__init__.py | ||
base.py | 2 years ago | |
test_ansible_collector.py | 2 years ago | |
test_collector.py | 3 years ago | |
test_collectors.py | 2 years ago | |
test_date_time.py | 4 years ago | |
test_facts.py | 2 years ago | |
test_sysctl.py | 2 years ago | |
test_timeout.py | ||
test_utils.py | 2 years ago |