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

Update gems to support testing Puppet 8 #888

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Sep 29, 2023

No description provided.

In the switch from beaker-puppet to beaker_puppet_helpers this was
removed. Now it uses a regular shell command to achieve the same.
@ekohl
Copy link
Member Author

ekohl commented Oct 6, 2023

It still evaluates the class, so it hits the raise. Even though the real class wouldn't be executed on Archlinux.

@ekohl ekohl force-pushed the update-gems branch 2 times, most recently from 6a6a8ac to f8f0303 Compare October 12, 2023 16:09
@ekohl
Copy link
Member Author

ekohl commented Oct 13, 2023

The unit test failure was already addressed in a gem update. Once I fix the Archlinux tests I'd expect that to pass.

With the unless keyword argument on a describe block the content is
still parsed by Ruby. This means some functions are still executed. It
also ends up triggering the unsupported version exception on Archlinux
because the collection is unrecognized, even though the test really
isn't run. By using the real Ruby unless statement this is all avoided.
@ekohl
Copy link
Member Author

ekohl commented Oct 13, 2023

Hmm, still not so I think I need some other update.

@evgeni evgeni merged commit 9778794 into theforeman:master Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants