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

Fix some RuboCop flagged issues for Puppet 8 support #438

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 7, 2023

#412 was merged with failing CI. I used auto-merge, but there is a required check. That did not pass and still it was merged. This PR fixes the failures and makes Puppet 8 work. Technically they're really Ruby 3 fixes, but that's what Puppet 8 ships.

ekohl added 3 commits November 7, 2023 17:35
This was flagged by RuboCop Lint/UnusedBlockArgument
Result of:

    rubocop --autocorrect-all --only Lint/NonAtomicFileOperation

This also fixes some deprecated uses of File.exists?
Result of:

    rubocop --autocorrect --only Lint/DeprecatedClassMethods
@ekohl ekohl merged commit e89753c into theforeman:master Nov 8, 2023
7 checks passed
@ekohl ekohl deleted the fixes branch November 8, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants