Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare support for RHEL9, CentOS9 and OL9 #120

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

nbarrientos
Copy link
Collaborator

@nbarrientos nbarrientos commented Feb 8, 2022

The patchset also fixes a test that only started to (rightfully) fail when Puppet6+CentOS9 was added to the test matrix. See the commit message for more details.

@nbarrientos nbarrientos added the enhancement New feature or request label Feb 8, 2022
@nbarrientos nbarrientos changed the title WIP: Declare support for RHEL9, CentOS9 and OL9 Declare support for RHEL9, CentOS9 and OL9 Feb 8, 2022
If 'networking' is not removed from the facts, the values declared in
`default_module_facts.yml` win (the fact set contains two keys:
`:networking` and `'networking'`)

This test has always been wrong as the interfaces were never been
mocked and the asserts were based on the contents on the default
module facts, not the test context itself.

The bug is obvious in the Puppet6/CentOS9 combination as there's no
`networking` fact in FacterDB, hence only in that case the fact is
overridden and the test does not pass (as it shouldn't).

This fix makes sure that the fact set in the test context is correct
and also that the test declares the actually expected resources.
@nbarrientos nbarrientos merged commit 8290c1d into voxpupuli:master Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants