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

foreman::repo: use the package resource 'ensure' parameter to specify the desired ruby stream #1015

Merged
merged 5 commits into from
Jan 10, 2022

Conversation

bastelfreak
Copy link
Member

This is a rebase of #1012

@ekohl
Copy link
Member

ekohl commented Jan 7, 2022

Thanks for submitting this. If this passes, I'll squash & merge #1012 for proper changelog attribution.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it needs to be reflected in the tests:

is_expected.to contain_package('ruby:2.7')
else
is_expected.not_to contain_package('ruby:2.7')

@bastelfreak
Copy link
Member Author

fixed the tests. Do you want me to squash the commits?

spec/classes/foreman_repo_spec.rb Outdated Show resolved Hide resolved
spec/classes/foreman_repo_spec.rb Outdated Show resolved Hide resolved
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensuring the ruby module stream on rhel 8
4 participants