Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

(PE-38998) Include getoptlong for bolt-server main #893

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

donoghuc
Copy link
Contributor

@donoghuc donoghuc commented Aug 9, 2024

Puppet 8 now has an explict dep on getoptlong puppetlabs/puppet@5bce3bb This is a "default" gem for ruby 3. When orchestrator's jruby tries to load bolt it cant find the default gems. This commit explictly packages the getoptlong gem outside of the default gems.

@donoghuc donoghuc requested review from a team as code owners August 9, 2024 17:53
Puppet 8 now has an explict dep on getoptlong puppetlabs/puppet@5bce3bb This is a "default" gem for ruby 3. When orchestrator's jruby tries to load bolt it cant find the default gems. This commit explictly packages the getoptlong gem outside of the default gems.
@donoghuc donoghuc force-pushed the PE-38998-getoptlong branch from 0428b67 to a184595 Compare August 9, 2024 18:02
Copy link
Contributor

@austb austb left a comment

Choose a reason for hiding this comment

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

Could pull in a newer version, but LGTM 👍🏻

@@ -0,0 +1,6 @@
component 'rubygem-getoptlong' do |pkg, settings, platform|
pkg.version '0.2.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

Version 0.2.1 exists if we want to use that. Puppet's dep is "~> 0.2.0" so it is probably pulling the new version in. But a quick scan of the changes between the two looks unimportant to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i wan to make sure i have the same version as the default in our version of ruby.

@donoghuc donoghuc merged commit 8402339 into puppetlabs:master Aug 9, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants