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

Ensure maven:3.8 is enabled on EL8 #234

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Jul 17, 2023

The maven 3.5 and 3.6 modules are no longer supported on RHEL.

@ehelms ehelms force-pushed the enable-maven-3.8 branch from d60cffd to 24b3f30 Compare July 17, 2023 19:59
@ehelms
Copy link
Member Author

ehelms commented Jul 17, 2023

Idempotency is failing with this change and I am not sure why. Perhaps this has something to do with how Puppet handles when a profile is provided, aka maven:3.8.

manifests/install.pp Outdated Show resolved Hide resolved
@ehelms ehelms force-pushed the enable-maven-3.8 branch 3 times, most recently from 1ed216c to 5db4ea9 Compare July 18, 2023 13:15
@ehelms
Copy link
Member Author

ehelms commented Jul 18, 2023

Thanks for feedback @ekohl - I got this green with the change test added that helped.

@ehelms ehelms requested a review from ekohl July 18, 2023 15:34
it { should be_owned_by 'tomcat' }
it { should be_grouped_into 'tomcat' }
its(:content) { should eq("katelloUser=CN=ActiveMQ Artemis Deferred, OU=Artemis, O=ActiveMQ, L=AMQ, ST=AMQ, C=AMQ\n") }
context 'when swapping to maven 3.8' do
Copy link
Member

Choose a reason for hiding this comment

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

Rather than restructuring the whole file, could this be spec/acceptance/dnf_module_spec.rb?

The maven 3.5 and 3.6 modules are no longer supported on RHEL.
@ehelms ehelms force-pushed the enable-maven-3.8 branch from 5db4ea9 to f565c23 Compare July 18, 2023 19:11
@ehelms ehelms merged commit 5f4c86e into theforeman:master Jul 19, 2023
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.

3 participants